node-pluginsmanager-plugin 4.8.1 → 4.8.2
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/lib/components/Server.js +4 -0
- package/package.json +1 -1
package/lib/components/Server.js
CHANGED
|
@@ -186,6 +186,8 @@ module.exports = class Server extends MediatorUser {
|
|
|
186
186
|
|
|
187
187
|
}).catch((err) => {
|
|
188
188
|
|
|
189
|
+
this._log("error", err);
|
|
190
|
+
|
|
189
191
|
const result = {
|
|
190
192
|
"code": "INTERNAL_SERVER_ERROR",
|
|
191
193
|
"message": cleanSendedError(err)
|
|
@@ -487,6 +489,8 @@ module.exports = class Server extends MediatorUser {
|
|
|
487
489
|
}
|
|
488
490
|
else {
|
|
489
491
|
|
|
492
|
+
this._log("error", err);
|
|
493
|
+
|
|
490
494
|
const result = {
|
|
491
495
|
"code": "INTERNAL_SERVER_ERROR",
|
|
492
496
|
"message": cleanSendedError(err)
|