add timestamp to rpc error logs
This commit is contained in:
1 parent
3915b30055
commit
c4f8286be6
1 file changed
+1
-1
@@ -789,7 +789,7 @@ RPC.create = function (config /*:typeof(ConfigType)*/, cb /*:(?Error, ?Function)
|
||||
|
||||
var warn = function (e, output) {
|
||||
if (e && !config.suppressRPCErrors) {
|
||||
console.error('[' + e + ']', output);
|
||||
console.error(new Date().toISOString() + ' [' + e + ']', output);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user