1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/util
Frank Villaro-Dixon 8b0eb84b43 fix(secscan): Don't show inexistant stacktrace (#4526)
`logger.exception` prints the stacktrace. However in this case there is
no stacktrace to output, as we are not inside an exception. This results
in log lines where the stack trace (`NoneType: None`) is confusing:
```
securityworker stdout | 2025-11-17 08:59:21,431 [102] [ERROR] [util.secscan.v4.api] Security scanner endpoint responded with non-200 HTTP status code: 500
securityworker stdout | NoneType: None
```

This commit fixes that

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2025-11-24 10:21:44 -05:00
..
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2019-12-02 12:23:08 -05:00
2020-06-05 16:50:13 -04:00
2019-12-02 12:23:08 -05:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-02-05 19:55:07 -08:00
2020-02-05 19:55:07 -08:00
2020-06-05 16:50:13 -04:00
2020-03-11 13:54:08 -04:00
2019-12-02 12:23:08 -05:00