diff --git a/app/api/rpcApi.js b/app/api/rpcApi.js index ffd3083..60fe25f 100644 --- a/app/api/rpcApi.js +++ b/app/api/rpcApi.js @@ -422,7 +422,7 @@ function executeBatchesSequentiallyInternal(batchId, batches, currentIndex, accu executeBatchesSequentiallyInternal(batchId, batches, currentIndex + 1, accumulatedResults, resultFunc); } }).catch(function(err) { - reject(err); + throw err; }); }