fix: prevent app crash by not parsing non-json responses

This commit is contained in:
2024-08-24 14:17:51 +02:00
parent 2063673a0d
commit 8bbd3bd52b
5 changed files with 31 additions and 11 deletions
+3
View File
@@ -6,6 +6,9 @@
<string name="cancel">Cancel</string>
<string name="timeout">Request has timed out, try again later</string>
<string name="generic_error">An error has occurred, try again later</string>
<string name="internal_server_error">Internal server error. Make sure your geniURL server is running if self-hosting or contact your hoster.</string>
<string name="invalid_json">Response was not valid JSON</string>
<string name="failed_to_map_json">Failed to map decoded JSON to internal type.</string>
<string name="retry">Retry</string>
<!-- Home -->