[gnome-shell] js/main: Use warning log level for notifyError
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] js/main: Use warning log level for notifyError
- Date: Wed, 6 Jul 2022 17:27:09 +0000 (UTC)
commit 71765a10566df07502f7fcb781b554298860fb77
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Mon Sep 2 16:44:37 2019 +0200
js/main: Use warning log level for notifyError
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/697>
js/ui/main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index d1a2076f66..d1f791a909 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]