Networking: Gate sending tracebacks over the API

It's possible that tracebacks can give too much info about a system
when sent over the API. Gate this under a flag to send them only
when debugging since this feature is still useful.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-07-13 17:59:58 -04:00
parent ddad422d8b
commit 6019c93637
2 changed files with 13 additions and 3 deletions

View file

@ -19,6 +19,10 @@ network:
# Turn on this option if you are ONLY connecting from localhost
disable_auth: False
# Send tracebacks over the API to clients (default: False)
# NOTE: Only enable this for debug purposes
send_tracebacks: False
# Options for logging
logging:
# Enable prompt logging (default: False)