]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 2 Aug 2018 13:43:03 +0000 (14:43 +0100)
commit9f52475eadb530ffc7be959444503c4d9d9ab26b
treefffae15dd9c86f4b39c63169bde8cdf943237285
parent585a10e070136b231d88b8ff4099b4085a2b656c
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>
(cherry picked from commit 8520d508a3154c6b30f1e710e518fe3b697a3194)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/scripts/koha-plack