Skip to content

Commit

Permalink
fix: use standard traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed Nov 21, 2024
1 parent 0b3afbe commit 8245dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datashare_spacy_worker/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from pathlib import Path
from typing import Annotated

Expand All @@ -17,6 +18,7 @@ def main(
int, typer.Option("-n", "--n-workers", help="Number of NLP workers")
] = 1,
):
os.environ["_TYPER_STANDARD_TRACEBACK"] = "1"
start_workers(
"datashare_spacy_worker.app.app",
n_workers,
Expand Down

0 comments on commit 8245dad

Please sign in to comment.