docs: update the quickstart guide (+ misc fixes) (#701)

This commit is contained in:
Charles Packer
2025-01-18 14:16:12 -08:00
committed by GitHub
parent ef6fce8e0f
commit 541d29d0b7
3 changed files with 22 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ def create_application() -> "FastAPI":
log.error(f"Unhandled error: {exc}", exc_info=True)
# Print the stack trace
print(f"Stack trace: {exc.__traceback__}")
print(f"Stack trace: {exc}")
if (os.getenv("SENTRY_DSN") is not None) and (os.getenv("SENTRY_DSN") != ""):
import sentry_sdk