Skip to content

Conversation

@goldmedal
Copy link
Contributor

Which issue does this PR close?

No exact issue.

Rationale for this change

Printing the backtrace directly isn't user-friendly for identifying the root cause. Here is an example to show how to print the backtrace in a way that is user- or IDE-friendly.

What changes are included in this PR?

add an example in the doc.

Are these changes tested?

no

Are there any user-facing changes?

no

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jul 13, 2024
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks good to me thanks @goldmedal

@alamb alamb merged commit a7041fe into apache:main Jul 13, 2024
@alamb
Copy link
Contributor

alamb commented Jul 13, 2024

🚀

@goldmedal goldmedal deleted the chore/update-example-backtrace branch July 14, 2024 02:43
@goldmedal
Copy link
Contributor Author

Thanks @comphead @alamb !

findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
* 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]>
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 17, 2024
* 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]>
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 18, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants