Merge 503 during a database restart (DTF-API-8, 9)
All checks were successful
Build and deploy / Validate source (push) Successful in 1m22s
Build and deploy / Integration suite on a real stack (push) Successful in 7m6s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m44s
All checks were successful
Build and deploy / Validate source (push) Successful in 1m22s
Build and deploy / Integration suite on a real stack (push) Successful in 7m6s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m44s
This commit is contained in:
@@ -116,6 +116,8 @@
|
||||
|
||||
function apiError(path, status, message, detail) {
|
||||
if (!started || status === 401 || typeof Sentry === 'undefined') return;
|
||||
// A restart's few seconds without the database (app/app.py): not a bug.
|
||||
if (status === 503 && /reiniciando/.test(String(message))) return;
|
||||
try {
|
||||
// One issue per kind of API error: without this Sentry groups them all
|
||||
// by apiError and DTF-WEB-1 mixes a 422 for 66 files with a 422 for
|
||||
|
||||
Reference in New Issue
Block a user