laminas-api-tools / api-tools

Laminas API Tools module for Laminas
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
37 stars 19 forks source link

Error supression forced adding modules #59

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

If I'm developing, there are 2 modules that turn off the error reporting 'ZF\ApiProblem', 'ZF\Rest', I have to turn them off everytime I'm in development mode. I do have $_SERVER['APPLICATION_ENV'] == 'development' set up in public/index.php


Originally posted by @str at https://github.com/zfcampus/zf-apigility/issues/78

michalbundyra commented 4 years ago

It looks it's a module loading problem, I set my modules AFTER apigility, as my modules had the view_manager['display_exceptions'] = true in the moule/MyModule/config/module.config.php


Originally posted by @str at https://github.com/zfcampus/zf-apigility/issues/78#issuecomment-61524403