mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1538 from ItzNotABug/fix-error-message
Fix notification on index creation error
This commit is contained in:
+3
-6
@@ -83,12 +83,9 @@
|
||||
});
|
||||
trackEvent(Submit.IndexCreate);
|
||||
showCreateIndex = false;
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
message: error.message,
|
||||
type: 'error'
|
||||
});
|
||||
trackError(error, Submit.IndexCreate);
|
||||
} catch (err) {
|
||||
error = err.message;
|
||||
trackError(err, Submit.IndexCreate);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user