logging: only return ISE reasons in API responses when in dev or test mode
authorWilliam Pitcock <nenolod@dereferenced.org>
Wed, 20 Feb 2019 17:36:19 +0000 (17:36 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Wed, 20 Feb 2019 17:36:47 +0000 (17:36 +0000)
commit22e2ed235d9e7ebaab313462d0d0a9fa040cd44f
tree3d6c5fe1e55c5dba9a663ae3173a1d3ef3ecbe3f
parent3ee77e95b2496b253ebd37a24dce7fdfa7a9c550
logging: only return ISE reasons in API responses when in dev or test mode
lib/pleroma/web/views/error_view.ex