@bettercorp/service-base
Advanced tools
Comparing version 8.5.50 to 8.5.51
@@ -208,4 +208,7 @@ "use strict"; | ||
this.log.reportStat(`on-broadcast-${eventsPluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("handleOnBroadcast error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnBroadcast] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -234,4 +237,7 @@ throw exc; | ||
this.log.reportStat(`on-event-${eventsPluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("handleOnEvent error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnEvent] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -271,4 +277,7 @@ throw exc; | ||
this.log.reportStat(`on-returnableevent-${eventsPluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("handleOnReturnableEvent error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnReturnableEvent] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -299,4 +308,7 @@ throw exc; | ||
this.log.reportStat(`emit-eventandreturn-${plugin.pluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("emitEventAndReturn error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:emitEventAndReturn] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName: plugin.pluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -317,4 +329,7 @@ throw exc; | ||
this.log.reportStat(`emit-eventandreturn-${plugin.pluginName}-${pluginName}-${event}-${serverId}`, -1); | ||
this.log.error("emitEventAndReturnSpecific error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:emitEventAndReturnSpecific] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName: plugin.pluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -334,4 +349,7 @@ throw exc; | ||
this.log.reportStat(`receivestream-${eventsPluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("handleOnReceiveStream error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{event}:handleOnReceiveStream] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName, | ||
pluginName, | ||
event, | ||
}); | ||
@@ -356,4 +374,7 @@ throw exc; | ||
this.log.reportStat(`sendstream-${plugin.pluginName}-${pluginName}-${event}`, -1); | ||
this.log.error("sendStream error occured: ${error}", { | ||
this.log.error("[{eventsPluginName}:{pluginName}:{streamId}:sendStream] error occured: ${error}", { | ||
error: exc.message ?? exc, | ||
eventsPluginName: plugin.pluginName, | ||
pluginName, | ||
streamId, | ||
}); | ||
@@ -360,0 +381,0 @@ throw exc; |
@@ -31,3 +31,3 @@ { | ||
"main": "lib/index.js", | ||
"version": "8.5.50", | ||
"version": "8.5.51", | ||
"bsb_project": true, | ||
@@ -34,0 +34,0 @@ "bsbInit": { |
Sorry, the diff of this file is not supported yet
385134
4802