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.
This commit is contained in:
parent
33958eac79
commit
a03e1601de
4 changed files with 88 additions and 68 deletions
2
.envrc
2
.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue