You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor: Add an example for backtrace pretty print (#11450)
* add the example for printing backtrace pretty
* add empty end line
* fix prettier
* sync the usage example
* Update docs/source/user-guide/crate-configuration.md
Co-authored-by: Oleks V <[email protected]>
---------
Co-authored-by: Oleks V <[email protected]>
Error: Plan("Invalid function 'row_numer'.\nDid you mean 'ROW_NUMBER'?\n\nbacktrace: 0: std::backtrace_rs::backtrace::libunwind::trace\n at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5\n 1: std::backtrace_rs::backtrace::trace_unsynchronized\n...
144
147
```
145
148
146
149
Note: The backtrace wrapped into systems calls, so some steps on top of the backtrace can be ignored
150
+
151
+
To show the backtrace in a pretty-printed format use `eprintln!("{e}");`.
0 commit comments