Skip to content

Commit a9c6ba2

Browse files
authored
docs: Document send_command_tracebacks in the Error Tracking guide (#1422)
1 parent 913a6f8 commit a9c6ba2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/src/Guides/25 Error Tracking.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ So, you've finally got your bot running on a server somewhere. Chances are, you
44

55
You're going to want to have some way of tracking if errors occur.
66

7+
# Sending inline tracebacks
8+
9+
By default, if a command throws an uncaught exception, it'll send the traceback to the user. This is very useful when in development, but doesn't help you once you've gone public, and might not be in the same servers as your errors. Non-technical users may also find it confusing to see trackbacks instead of user-friendly error messages.
10+
11+
If you wish to turn this off, create your client with `Client(..., send_command_tracebacks=False)`
12+
13+
714
# The simple and dirty method
815

916
!!! Please don't actually do this.

0 commit comments

Comments
 (0)