Skip to content

Commit 5c7bd97

Browse files
committed
docs: add description for threading support
1 parent 7816333 commit 5c7bd97

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/skills/dttb/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Guide for using dttb, a Python package that attaches timestamps to
55

66
# dttb
77

8-
`dttb` (DateTime TraceBack) is a lightweight Python package that modifies exception handling to verify *when* an error occurred by attaching a timestamp to the traceback output.
8+
`dttb` (DateTime TraceBack) is a lightweight Python package that modifies exception handling to verify when an error occurred by attaching a timestamp to the traceback output.
99

1010
## When to use dttb
1111

@@ -35,6 +35,10 @@ Traceback (most recent call last):
3535
Error: something wrong
3636
```
3737

38+
## Multi-threading Support
39+
40+
`dttb.apply()` automatically hooks both `sys.excepthook` and `threading.excepthook`, so uncaught exceptions in any thread are timestamped without additional configuration.
41+
3842
## Advanced Configuration
3943

4044
### Specifying Timezone

0 commit comments

Comments
 (0)