Bug 20079: Display stack trace for development installations
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Jan 2018 18:54:41 +0000 (15:54 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 17:00:20 +0000 (17:00 +0000)
commit8520d508a3154c6b30f1e710e518fe3b697a3194
tree8ea80a45d9e5f35e9394b0ccd4415f3c7b7aace5
parentdcf207170bab05861f1a17ffc450851511c19fa2
Bug 20079: Display stack trace for development installations

"""The default value is development, which causes plackup to
load the middleware components: AccessLog, StackTrace, and Lint unless
--no-default-middleware is set."""

Test plan:
Confirm that the stack trace is displayed when something is wrong (die somewhere to test)
for dev installations (inside a devbox)
The -E flag must remain deployment for non-dev installs

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
debian/scripts/koha-plack