refactor prints to log & ensure local|test mode don't send logs to se… #1109
22.69% of diff hit (target 54.96%)
View this Pull Request on Codecov
22.69% of diff hit (target 54.96%)
Annotations
Check warning on line 26 in src/_main_/celery/app.py
codecov / codecov/patch
src/_main_/celery/app.py#L26
Added line #L26 was not covered by tests
Check warning on line 240 in src/_main_/settings.py
codecov / codecov/patch
src/_main_/settings.py#L238-L240
Added lines #L238 - L240 were not covered by tests
Check warning on line 72 in src/_main_/utils/GeoIP.py
codecov / codecov/patch
src/_main_/utils/GeoIP.py#L72
Added line #L72 was not covered by tests
Check warning on line 101 in src/_main_/utils/GeoIP.py
codecov / codecov/patch
src/_main_/utils/GeoIP.py#L101
Added line #L101 was not covered by tests
Check warning on line 45 in src/_main_/utils/massenergize_logger/__init__.py
codecov / codecov/patch
src/_main_/utils/massenergize_logger/__init__.py#L45
Added line #L45 was not covered by tests
Check warning on line 84 in src/api/services/auth.py
codecov / codecov/patch
src/api/services/auth.py#L84
Added line #L84 was not covered by tests
Check warning on line 87 in src/api/services/auth.py
codecov / codecov/patch
src/api/services/auth.py#L87
Added line #L87 was not covered by tests
Check warning on line 335 in src/api/services/userprofile.py
codecov / codecov/patch
src/api/services/userprofile.py#L335
Added line #L335 was not covered by tests
Check warning on line 132 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L132
Added line #L132 was not covered by tests
Check warning on line 139 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L139
Added line #L139 was not covered by tests
Check warning on line 146 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L146
Added line #L146 was not covered by tests
Check warning on line 153 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L153
Added line #L153 was not covered by tests
Check warning on line 160 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L160
Added line #L160 was not covered by tests
Check warning on line 205 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L205
Added line #L205 was not covered by tests
Check warning on line 227 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L227
Added line #L227 was not covered by tests
Check warning on line 230 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L230
Added line #L230 was not covered by tests
Check warning on line 246 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L246
Added line #L246 was not covered by tests
Check warning on line 249 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L249
Added line #L249 was not covered by tests
Check warning on line 265 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L265
Added line #L265 was not covered by tests
Check warning on line 268 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L268
Added line #L268 was not covered by tests
Check warning on line 275 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L275
Added line #L275 was not covered by tests
Check warning on line 299 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L299
Added line #L299 was not covered by tests
Check warning on line 310 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L310
Added line #L310 was not covered by tests
Check warning on line 313 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L313
Added line #L313 was not covered by tests
Check warning on line 316 in src/api/store/community.py
codecov / codecov/patch
src/api/store/community.py#L316
Added line #L316 was not covered by tests