@mondart/nestjs-common-module 1.1.42 → 1.1.44
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.
|
@@ -10,7 +10,7 @@ function KafkaCatchErrorHelper() {
|
|
|
10
10
|
else if (Object.keys(strapiApplicationErrors).includes(err?.name))
|
|
11
11
|
throw new strapiApplicationErrors[err?.name](err?.response);
|
|
12
12
|
else
|
|
13
|
-
throw new common_1.InternalServerErrorException(
|
|
13
|
+
throw new common_1.InternalServerErrorException(err);
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
const strapiApplicationErrors = {
|