Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backtrace): Show error's stack if QRI_BACKTRACE is defined
Taking an idea from rust's RUST_BACKTRACE, show a stack dump on error only if the environment variable QRI_BACKTRACE is defined. This prevents the need to comment and uncomment code blocks (which may get accidentally commited to git) in order to get valuable debugging information.
- Loading branch information