fix(crons): Make monitor
async friendly
#2912
57.14% of diff hit (target 76.85%)
View this Pull Request on Codecov
57.14% of diff hit (target 76.85%)
Annotations
Check warning on line 7 in sentry_sdk/crons/_decorator.py
codecov / codecov/patch
sentry_sdk/crons/_decorator.py#L7
Added line #L7 was not covered by tests
Check warning on line 16 in sentry_sdk/crons/_decorator.py
codecov / codecov/patch
sentry_sdk/crons/_decorator.py#L15-L16
Added lines #L15 - L16 were not covered by tests
Check warning on line 1 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L1
Added line #L1 was not covered by tests
Check warning on line 3 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L3
Added line #L3 was not covered by tests
Check warning on line 6 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L6
Added line #L6 was not covered by tests
Check warning on line 9 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L8-L9
Added lines #L8 - L9 were not covered by tests
Check warning on line 13 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L13
Added line #L13 was not covered by tests
Check warning on line 15 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L15
Added line #L15 was not covered by tests
Check warning on line 19 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L19
Added line #L19 was not covered by tests
Check warning on line 21 in sentry_sdk/crons/_decorator_py2.py
codecov / codecov/patch
sentry_sdk/crons/_decorator_py2.py#L21
Added line #L21 was not covered by tests
Check warning on line 9 in sentry_sdk/crons/decorator.py
codecov / codecov/patch
sentry_sdk/crons/decorator.py#L8-L9
Added lines #L8 - L9 were not covered by tests
Check warning on line 12 in sentry_sdk/crons/decorator.py
codecov / codecov/patch
sentry_sdk/crons/decorator.py#L12
Added line #L12 was not covered by tests