@bluemarble/bm-components 1.11.5 → 1.12.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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4094,7 +4094,7 @@ var ApiHelper = class _ApiHelper {
|
|
|
4094
4094
|
return __async(this, null, function* () {
|
|
4095
4095
|
});
|
|
4096
4096
|
}
|
|
4097
|
-
onError(req, res) {
|
|
4097
|
+
onError(req, res, error) {
|
|
4098
4098
|
return __async(this, null, function* () {
|
|
4099
4099
|
});
|
|
4100
4100
|
}
|
|
@@ -4135,9 +4135,9 @@ var ApiHelper = class _ApiHelper {
|
|
|
4135
4135
|
error: "Erro interno do servidor",
|
|
4136
4136
|
details: error
|
|
4137
4137
|
});
|
|
4138
|
-
return this.onError(req, res);
|
|
4138
|
+
return this.onError(req, res, error);
|
|
4139
4139
|
}
|
|
4140
|
-
this.onError(req, res);
|
|
4140
|
+
this.onError(req, res, error);
|
|
4141
4141
|
throw new Error(error);
|
|
4142
4142
|
} finally {
|
|
4143
4143
|
yield this.onFinally(req, res);
|