[Developer] #424 fix ORDS protected object path

Refs #424
This commit is contained in:
devmrko
2026-06-23 12:04:44 +09:00
parent 923daa2a56
commit 127110e300
6 changed files with 25 additions and 3 deletions

View File

@@ -23,6 +23,12 @@ public class ProbeErrorClassifier {
if (status != null && (status.value() == 401 || status.value() == 403)) {
return ProbeStatus.INVALID_TOKEN;
}
if (status != null && status.value() == 404) {
return ProbeStatus.ORDS_PATH_NOT_FOUND;
}
if (text.contains("\"code\"") && text.contains("NotFound")) {
return ProbeStatus.ORDS_PATH_NOT_FOUND;
}
return ProbeStatus.UNKNOWN_ERROR;
}