[libhttpseverywhere] context: "rulesets not found" is now a warning



commit dc40b146a6668ae36a4ebffcbdc127d824461dc4
Author: grindhold <grindhold gmx net>
Date:   Fri Jan 19 21:21:57 2018 +0100

    context: "rulesets not found" is now a warning
    
    in the scope of the application that uses libhttpseverywhere
    it's not necessarily critical
    
    TODO: think about letting the programmer decide wheter he
    wants libhttpseverywhere to fail critically or not

 src/context.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/context.vala b/src/context.vala
index f082cfc..4cb94c7 100644
--- a/src/context.vala
+++ b/src/context.vala
@@ -133,7 +133,7 @@ namespace HTTPSEverywhere {
                 string locations = "\n";
                 foreach (string location in datapaths)
                     locations += "%s\n".printf(location);
-                critical("Could not find any suitable database in the following locations:%s",
+                warning("Could not find any suitable database in the following locations:%s",
                          locations);
                 return;
             }


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