[epiphany/mcatanzaro/create-web-app-warnings: 2/2] web-app-utils: print warning when web app creation fails
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/create-web-app-warnings: 2/2] web-app-utils: print warning when web app creation fails
- Date: Tue, 8 Jan 2019 18:12:47 +0000 (UTC)
commit ccc97157388112def582eaaac1bad9ca00bebb31
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Jan 8 11:55:00 2019 -0600
web-app-utils: print warning when web app creation fails
Web app creation failure is a big deal. This merits more than a debug
logging statement.
lib/ephy-web-app-utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index 5c9402efd..5802b612f 100644
--- a/lib/ephy-web-app-utils.c
+++ b/lib/ephy-web-app-utils.c
@@ -336,13 +336,13 @@ ephy_web_application_create (const char *id,
* view, do nothing. */
profile_dir = ephy_web_application_get_profile_directory (id);
if (g_file_test (profile_dir, G_FILE_TEST_IS_DIR)) {
- LOG ("Profile directory %s already exists", profile_dir);
+ g_warning ("Profile directory %s already exists", profile_dir);
goto out;
}
/* Create the profile directory, populate it. */
if (g_mkdir (profile_dir, 488) == -1) {
- LOG ("Failed to create directory %s", profile_dir);
+ g_warning ("Failed to create directory %s", profile_dir);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]