BizHawkClient: Add some handling for non-string errors (#2656)
This commit is contained in:
parent
e5c739ee31
commit
bf17582c55
|
@ -456,6 +456,7 @@ function send_receive ()
|
|||
failed_guard_response = response
|
||||
end
|
||||
else
|
||||
if type(response) ~= "string" then response = "Unknown error" end
|
||||
res[i] = {type = "ERROR", err = response}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue