@diia-inhouse/providers 2.2.2 → 2.3.0
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.
|
@@ -287,7 +287,7 @@ var DrrpProvider = class {
|
|
|
287
287
|
} catch (err) {
|
|
288
288
|
this.logger.error("Failed to request drrp", { err });
|
|
289
289
|
const unavailableProcessCode = ops?.unavailableProcessCode || this.drrpConfig.unavailableProcessCode;
|
|
290
|
-
throw new InternalServerError("Drrp service is unavailable", unavailableProcessCode, unavailableProcessCode ? ErrorType.
|
|
290
|
+
throw new InternalServerError("Drrp service is unavailable", unavailableProcessCode, unavailableProcessCode ? ErrorType.External : ErrorType.Unoperated);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
};
|