mirror of
https://github.com/smittix/intercept.git
synced 2026-07-14 12:38:11 -07:00
fix: return 503 (not 502) when signal DB match fails
This commit is contained in:
+1
-1
@@ -414,7 +414,7 @@ def signalid_match() -> Response:
|
|||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.error('Signal match failed: %s', exc)
|
logger.error('Signal match failed: %s', exc)
|
||||||
return api_error('Signal match failed', 502)
|
return api_error('Signal match failed', 503)
|
||||||
|
|
||||||
response_data = {
|
response_data = {
|
||||||
'matches': matches,
|
'matches': matches,
|
||||||
|
|||||||
Reference in New Issue
Block a user