This commit is contained in:
ajouatom
2026-05-26 09:59:54 +09:00
parent a80ce3cdbb
commit ba2fc713b1
2 changed files with 2 additions and 2 deletions

View File

@@ -859,7 +859,7 @@ class CarrotMan:
is_tmux_sent = True
carrot_exception = self.params.get("CarrotException")
if carrot_exception in ["exception", "log", "tmux_send"] and networkConnected:
self.params.put_bool("CarrotException", "")
self.params.put("CarrotException", "")
self.make_tmux_data()
self.send_tmux("Ekdrmsvkdlffjt7710", carrot_exception)
self.send_tmux_http(carrot_exception, send_settings = False)

View File

@@ -29,7 +29,7 @@ def report_tombstone(fn: str, message: str, contents: str) -> None:
def capture_exception(*args, **kwargs) -> None:
cloudlog.error("crash", exc_info=kwargs.get('exc_info', 1))
Params().put_bool("CarrotException", "exception")
Params().put("CarrotException", "exception")
try:
sentry_sdk.capture_exception(*args, **kwargs)