🎨 Improved importer error dialog

- Kept simple for single errors
- Made more readable for multiple errors
This commit is contained in:
GeoffreyCoulaud
2023-06-24 16:13:41 +02:00
parent 3fa80a53c6
commit 5e5a2fe746
2 changed files with 41 additions and 21 deletions

View File

@@ -44,6 +44,6 @@ class SGDBManager(AsyncManager):
# If invalid auth, cancel all SGDBManager tasks
self.cancellable.cancel()
raise FriendlyError(
"Couldn't authenticate to SGDB",
"Couldn't authenticate to SteamGridDB",
"Verify your API key in the preferences",
) from error