js/main: Use warning log level for notifyError
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/697>
This commit is contained in:
parent
1bd9076590
commit
71765a1056
@ -504,9 +504,9 @@ function notify(msg, details) {
|
||||
function notifyError(msg, details) {
|
||||
// Also print to stderr so it's logged somewhere
|
||||
if (details)
|
||||
log(`error: ${msg}: ${details}`);
|
||||
console.warn(`error: ${msg}: ${details}`);
|
||||
else
|
||||
log(`error: ${msg}`);
|
||||
console.warn(`error: ${msg}`);
|
||||
|
||||
notify(msg, details);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user