add timestamp to rpc error logs

pull/1/head
ansuz 8 years ago
parent 3915b30055
commit c4f8286be6

@ -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);
}
};

Loading…
Cancel
Save