Fix stack overflow when task name not recognized
This commit is contained in:
1 parent
30221f1d4e
commit
7fdd04343b
1 file changed
+1
-1
+1
-1
@@ -431,7 +431,7 @@ nextRpc = (sessionContext) ->
|
||||
session.addProvisions(sessionContext, "task_#{task._id}",
|
||||
[['instances', task.objectName, 0]]);
|
||||
else
|
||||
return throwError(new Error('Task name not recognized'), sessionContext.httpResponse) if err
|
||||
return throwError(new Error('Task name not recognized'), sessionContext.httpResponse)
|
||||
|
||||
return nextRpc(sessionContext)
|
||||
|
||||
|
||||
Reference in new issue
Block a user