aelvan / Imager-Craft

This plugin has been DEPRECATED. Check out Imager X instead.
MIT License
342 stars 69 forks source link

suppressExceptions setting is always overridden by devMode setting #298

Open GaryReckard opened 4 years ago

GaryReckard commented 4 years ago

As far as I can tell, setting 'suppressExceptions' to true will get overridden to false if devMode is true.

This line in init()... https://github.com/aelvan/Imager-Craft/blob/c3cb4d91e4aa891cbcc9498d72b4c616e97d4f27/src/models/Settings.php#L168 ... will overwrite suppressExceptions to false if devMode is true, regardless of what you specify for suppressExceptions explicitly.