[gnome-boxes/housekeeping-autumn-2021: 4/9] app: Demote collection load warning to debug message




commit 82ce42a89e5fd878b7d5685a0a5f2d1d2034302a
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Oct 13 10:18:25 2021 +0200

    app: Demote collection load warning to debug message
    
    We ignore duplicate collection source files, so no need to warn
    the user about it.

 src/app.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/app.vala b/src/app.vala
index 4764932b..091f8fbc 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -407,7 +407,7 @@ public async void add_collection_source (CollectionSource source) throws GLib.Er
             return;
 
         if (sources.get (source.name) != null) {
-            warning ("Attempt to add duplicate collection source '%s', ignoring..", source.name);
+            debug ("Attempt to add duplicate collection source '%s', ignoring..", source.name);
             return; // Already added
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]