Fix Soma integration connection issue (#27692)
* Added a check for Connect actually returning something before telling the user the setup succeeded * Added handling for KeyError in case API returns empty response, formatting * Trying to please the linter
This commit is contained in:
1 parent
004af97699
commit
01ef44fd68
4 files changed
+41
-9
No files matched your search
@@ -3,7 +3,9 @@
|
||||
"abort": {
|
||||
"already_setup": "You can only configure one Soma account.",
|
||||
"authorize_url_timeout": "Timeout generating authorize url.",
|
||||
"missing_configuration": "The Soma component is not configured. Please follow the documentation."
|
||||
"missing_configuration": "The Soma component is not configured. Please follow the documentation.",
|
||||
"result_error": "SOMA Connect responded with error status.",
|
||||
"connection_error": "Failed to connect to SOMA Connect."
|
||||
},
|
||||
"create_entry": {
|
||||
"default": "Successfully authenticated with Soma."
|
||||
|
||||
Reference in new issue
Block a user