Commit d8f03f61 authored by Romain Courteaud's avatar Romain Courteaud

wip replicate

parent 2aeddc52
...@@ -137,8 +137,10 @@ ...@@ -137,8 +137,10 @@
type = LOG_UNEXPECTED_ERROR; type = LOG_UNEXPECTED_ERROR;
} }
if (extra === undefined) { if (extra === undefined) {
console.log(type, id);
this._list.push([type, id]); this._list.push([type, id]);
} else { } else {
console.log(type, id, extra);
this._list.push([type, id, extra]); this._list.push([type, id, extra]);
} }
if (type < 100) { if (type < 100) {
...@@ -154,8 +156,10 @@ ...@@ -154,8 +156,10 @@
type = LOG_UNEXPECTED_ERROR; type = LOG_UNEXPECTED_ERROR;
} }
if (extra === undefined) { if (extra === undefined) {
console.log(type, id, name);
this._list.push([type, id, name]); this._list.push([type, id, name]);
} else { } else {
console.log(type, id, name, extra);
this._list.push([type, id, name, extra]); this._list.push([type, id, name, extra]);
} }
if (type < 100) { if (type < 100) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment