aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-03-14 12:46:02 +0000
committerChristopher Baines <mail@cbaines.net>2020-03-14 12:46:02 +0000
commita03e1601deda589d5b11a8472438e6fe60c39666 (patch)
tree641a133f92115e6a8885c637b041c8ab88b3b065 /.envrc
parent33958eac792bffd1a0ce0e33fcdd2568954323e3 (diff)
downloaddata-service-a03e1601deda589d5b11a8472438e6fe60c39666.tar
data-service-a03e1601deda589d5b11a8472438e6fe60c39666.tar.gz
Improve handling of errors
Adjust the previously unused error page code, and start to use it. Only show the error if configured to do so, to avoid leaking secret information.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 94e9705..7b32f77 100644
--- a/.envrc
+++ b/.envrc
@@ -8,6 +8,8 @@ export GUILE_LOAD_COMPILED_PATH="$PWD:$PWD/tests:$GUILE_LOAD_COMPILED_PATH"
export GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH"
export PATH="$PWD/scripts:$PATH"
+export GUIX_DATA_SERVICE_SHOW_ERROR_DETAILS=true
+
if [ -f .local.envrc ]; then
source_env .local.envrc
fi