We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90bb58e commit 334be7bCopy full SHA for 334be7b
1 file changed
plugin/rules/constraint.py
@@ -8,6 +8,8 @@
8
9
from more_itertools import first_true
10
11
+from plugin import logger
12
+
13
from ..cache import clearable_lru_cache
14
from ..constants import PLUGIN_NAME, ST_PLATFORM
15
from ..logger import Logger
@@ -57,7 +59,7 @@ def test(self, view_snapshot: ViewSnapshot) -> bool:
57
59
except AlwaysBoolException as e:
58
60
return e.value
61
except Exception as e:
- print(f"[{PLUGIN_NAME}] ConstraintRule Exception: {e}")
62
+ Logger.log(f"[{PLUGIN_NAME}] ConstraintRule Exception: {e}")
63
return False
64
65
return not result if self.inverted else result
0 commit comments