user agent filter now works with substrings
[mir.git] / source / mircoders / abuse / FilterEngine.java
index 73da851..f21885c 100755 (executable)
@@ -154,7 +154,8 @@ public class FilterEngine {
           Filter filter = new Filter(entity);
           introduceFilter(filter);
         }
-        catch (AbuseExc e) {
+        catch (Throwable e) {
+          logger.debug("Misbehaving filer: " + entity.toString() + ": " + e);
         }
       }
     }
@@ -264,7 +265,7 @@ public class FilterEngine {
           int lastPriority = Integer.parseInt(lastPriorityString);
           priority = Integer.toString(lastPriority + 1);
         }
-        catch (Exception e) {
+        catch (Throwable e) {
         }
       }