Skip to content

Commit da5e4b2

Browse files
committed
fix: use Logger.log rather than print
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 321e5fb commit da5e4b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/rules/constraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test(self, view_snapshot: ViewSnapshot) -> bool:
5757
except AlwaysBoolException as e:
5858
return e.value
5959
except Exception as e:
60-
print(f"[{PLUGIN_NAME}] ConstraintRule Exception: {e}")
60+
Logger.log(f"[{PLUGIN_NAME}] ConstraintRule Exception: {e}")
6161
return False
6262

6363
return not result if self.inverted else result

0 commit comments

Comments
 (0)