omxhealth/drugbank-sample-apps

Don't rescue without specifying an exception type

Closed this issue · 0 comments

On this line:

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.