Update blue_modules/notifications.js

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Marcos Rodriguez Vélez 2024-11-11 19:08:21 -04:00 committed by GitHub
parent 502f3234e1
commit a8674aed0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ export const setLevels = async levelAll => {
}),
});
if (!response.ok) {
throw Error('Failed to set token configuration:', response.statusText);
throw new Error('Failed to set token configuration: ' + response.statusText);
}
if (!levelAll) {