[epiphany/mcatanzaro/create-web-app-warnings] web-app-utils: print warning when web app creation fails



commit 37b0f3697969e6cd68adf948e159cc996d1980eb
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]