Skip to content

Commit

Permalink
BizHawkClient: Add some handling for non-string errors (ArchipelagoMW…
Browse files Browse the repository at this point in the history
  • Loading branch information
Zunawe authored and Jouramie committed Feb 28, 2024
1 parent f4fcbbb commit 3f7b864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/lua/connector_bizhawk_generic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f7b864

Please sign in to comment.