Imager-Craft icon indicating copy to clipboard operation
Imager-Craft copied to clipboard

suppressExceptions setting is always overridden by devMode setting

Open GaryReckard opened this issue 4 years ago • 0 comments

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.

GaryReckard avatar Sep 16 '20 16:09 GaryReckard