@knowttl/mg-axi 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graph-session.js +3 -1
- package/package.json +1 -1
package/dist/graph-session.js
CHANGED
|
@@ -1070,6 +1070,8 @@ export class GraphSession {
|
|
|
1070
1070
|
"Narrow the query when throttling persists",
|
|
1071
1071
|
]);
|
|
1072
1072
|
}
|
|
1073
|
-
return new AxiError(`Graph failed ${operation.id} (${status})${fault}`, "GRAPH_ERROR",
|
|
1073
|
+
return new AxiError(`Graph failed ${operation.id} (${status})${fault}`, "GRAPH_ERROR", status >= 500 && status < 600
|
|
1074
|
+
? ["Server failures may be transient; retry safe reads within a bounded budget"]
|
|
1075
|
+
: []);
|
|
1074
1076
|
}
|
|
1075
1077
|
}
|