File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ciso8601==2.3.2
8
8
colorlog == 6.9.0
9
9
cpe == 1.3.1
10
10
cryptography == 44.0.2
11
- debugpy == 1.8.12
11
+ debugpy == 1.8.13
12
12
deepmerge == 2.0
13
13
dirhash == 0.5.0
14
14
docker == 7.1.0
@@ -24,6 +24,6 @@ securetar==2025.2.1
24
24
sentry-sdk == 2.22.0
25
25
setuptools == 75.8.2
26
26
voluptuous == 0.15.2
27
- dbus-fast == 2.34.0
27
+ dbus-fast == 2.35.1
28
28
typing_extensions == 4.12.2
29
29
zlib-fast == 0.2.1
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ async def initialize_coresys() -> CoreSys:
60
60
coresys .resolution = await ResolutionManager (coresys ).load_config ()
61
61
await coresys .resolution .load_modules ()
62
62
coresys .jobs = await JobManager (coresys ).load_config ()
63
- coresys .core = Core (coresys )
63
+ coresys .core = await Core (coresys ). post_init ( )
64
64
coresys .plugins = await PluginManager (coresys ).load_config ()
65
65
coresys .arch = CpuArch (coresys )
66
66
coresys .auth = await Auth (coresys ).load_config ()
Original file line number Diff line number Diff line change 8
8
from aiohttp .web_exceptions import HTTPBadGateway , HTTPServiceUnavailable
9
9
import sentry_sdk
10
10
from sentry_sdk .integrations .aiohttp import AioHttpIntegration
11
- from sentry_sdk .integrations .asyncio import AsyncioIntegration
12
11
from sentry_sdk .integrations .atexit import AtexitIntegration
13
12
from sentry_sdk .integrations .dedupe import DedupeIntegration
14
13
from sentry_sdk .integrations .excepthook import ExcepthookIntegration
@@ -28,6 +27,9 @@ def init_sentry(coresys: CoreSys) -> None:
28
27
"""Initialize sentry client."""
29
28
if not sentry_sdk .is_initialized ():
30
29
_LOGGER .info ("Initializing Supervisor Sentry" )
30
+ # Don't use AsyncioIntegration(). We commonly handle task exceptions
31
+ # outside of tasks. This would cause exception we gracefully handle to
32
+ # be captured by sentry.
31
33
sentry_sdk .init (
32
34
dsn = "https://[email protected] /5370612" ,
33
35
before_send = partial (filter_data , coresys ),
@@ -43,7 +45,6 @@ def init_sentry(coresys: CoreSys) -> None:
43
45
}
44
46
)
45
47
),
46
- AsyncioIntegration (),
47
48
ExcepthookIntegration (),
48
49
DedupeIntegration (),
49
50
AtexitIntegration (),
You can’t perform that action at this time.
0 commit comments