File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,8 @@ async def check_response(response: ClientResponse) -> None:
134134 error_code = result .get ("errorCode" , "" )
135135
136136 if error_code :
137- # Error messages between cloud and local Overkiz servers can be slightly different.
138- # To make it easier to have a strict match for these errors, we remove the double quotes and the period at the end.
139-
140- # An error message can have an empty (None) message
137+ # Error messages between cloud and local servers differ slightly in quoting and punctuation.
138+ # Normalise so substring matching works across both variants.
141139 message = message .strip ('".' ) if (message := result .get ("error" )) else ""
142140
143141 # 1. Primary dispatch: match on errorCode (+ optional message substring)
You can’t perform that action at this time.
0 commit comments