summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/proto/proto.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index bc3f41f4..5cc61b24 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -131,6 +131,7 @@ function m.doResponse(proto)
m.waiting[id] = nil
if proto.error then
log.warn(('Response error [%d]: %s'):format(proto.error.code, proto.error.message))
+ resume(nil)
return
end
resume(proto.result)