mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
[Friendly Spellcheck]: Fix typo in init_sentry event
This commit is contained in:
parent
dee25f0e9a
commit
69e22df6e0
1 changed files with 3 additions and 3 deletions
|
|
@ -6,11 +6,11 @@ from config.config import LearnHouseConfig
|
||||||
|
|
||||||
async def init_sentry(app: FastAPI) -> None:
|
async def init_sentry(app: FastAPI) -> None:
|
||||||
|
|
||||||
leanrhouse_config : LearnHouseConfig = app.learnhouse_config # type: ignore
|
learnhouse_config : LearnHouseConfig = app.learnhouse_config # type: ignore
|
||||||
if leanrhouse_config.hosting_config.sentry_config is not None:
|
if learnhouse_config.hosting_config.sentry_config is not None:
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=app.learnhouse_config.hosting_config.sentry_config.dsn, # type: ignore
|
dsn=app.learnhouse_config.hosting_config.sentry_config.dsn, # type: ignore
|
||||||
environment=app.learnhouse_config.hosting_config.sentry_config.environment, # type: ignore
|
environment=app.learnhouse_config.hosting_config.sentry_config.environment, # type: ignore
|
||||||
release=app.learnhouse_config.hosting_config.sentry_config.release, # type: ignore
|
release=app.learnhouse_config.hosting_config.sentry_config.release, # type: ignore
|
||||||
traces_sample_rate=1.0,
|
traces_sample_rate=1.0,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue