Disable printing backtraces by default.
The caught html panics still print backtraces. Disabling it in rust would require changing the global panic handler when entering and exiting the function. Signed-off-by: Evan Lloyd New-Schmidt <evan@new-schmidt.com>
This commit is contained in:
parent
481ace45ce
commit
3de06a3209
1 changed files with 3 additions and 1 deletions
4
run.sh
4
run.sh
|
@ -101,7 +101,9 @@ log "Extracting tags from '$OSM_FILE'"
|
|||
"$wikiparser" get-tags "$OSM_FILE" > osm_tags.tsv
|
||||
|
||||
# Enable backtraces in errors and panics.
|
||||
export RUST_BACKTRACE=1
|
||||
# NOTE: Backtraces are still printed for panics that are caught higher in the stack.
|
||||
# export RUST_BACKTRACE=1
|
||||
|
||||
# Set log level.
|
||||
export RUST_LOG=om_wikiparser=info
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue