Handle errors during database upload

This commit is contained in:
Robert
2021-06-21 10:30:11 +01:00
parent f6d1bad81b
commit 6ebdeafc2f
9 changed files with 72 additions and 58 deletions
Generated
+5
View File
@@ -408,4 +408,9 @@ function getRequiredEnvParam(paramName) {
return value;
}
exports.getRequiredEnvParam = getRequiredEnvParam;
function isHTTPError(arg) {
var _a;
return ((_a = arg) === null || _a === void 0 ? void 0 : _a.status) !== undefined && Number.isInteger(arg.status);
}
exports.isHTTPError = isHTTPError;
//# sourceMappingURL=util.js.map