mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Fixed error being displayed incorrectly
This commit is contained in:
1 parent
62857d44c2
commit
b31541ddf0
1 file changed
+2
-2
@@ -32,9 +32,9 @@
|
||||
try {
|
||||
if (importedString.trim().startsWith('{')) {
|
||||
candidateGroup = groupTransporter.importFromJSON(importedString);
|
||||
} else {
|
||||
candidateGroup = groupTransporter.importFromCompressedJSON(importedString);
|
||||
}
|
||||
|
||||
candidateGroup = groupTransporter.importFromCompressedJSON(importedString);
|
||||
} catch (error) {
|
||||
errorMessage = error instanceof Error
|
||||
? error.message
|
||||
|
||||
Reference in new issue
Block a user