Log errors from Zotero.serial()
And output errors in concurrentCaller if not otherwise logged
This commit is contained in:
parent
71fb054efe
commit
3b2d7eb970
2 changed files with 6 additions and 3 deletions
|
@ -223,7 +223,8 @@ ConcurrentCaller.prototype._processNext = function () {
|
|||
this._numRunning--;
|
||||
|
||||
this._log("Error in function (" + this._numRunning + "/" + this.numConcurrent + ", "
|
||||
+ this._queue.length + " in queue)");
|
||||
+ this._queue.length + " in queue)"
|
||||
+ ((!this.onError && !this.stopOnError) ? ": " + e : ""));
|
||||
|
||||
if (this.onError) {
|
||||
this.onError(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue