Don't rescue without specifying an exception type
Closed this issue · 0 comments
cknoxrun commented
On this line:
drugbank-sample-apps/ruby/app.rb
Line 13 in 808160e
There is a rescue without specifying the exception type. This will rescue any exception, which may make it very hard to debug if something else goes wrong. I would recommend changing this to use File.exist?
instead of a rescue block.