This commit is contained in:
1 parent
dc99f1fac3
commit
a3ae72d353
1 file changed
+8
-2
@@ -1411,7 +1411,10 @@ I have tools to read, write, edit, search, lint, test, format, and commit code.
|
||||
runtime_objects.append(outcome.to_dict())
|
||||
response.runtime_objects = runtime_objects
|
||||
except Exception as exc:
|
||||
from .subsystem_health import record_failure
|
||||
try:
|
||||
from .subsystem_health import record_failure
|
||||
except ImportError: # TUI-context top-level deploy (#168)
|
||||
from rune.subsystem_health import record_failure
|
||||
|
||||
record_failure("runtime_objects", exc, tier=2)
|
||||
|
||||
@@ -1457,7 +1460,10 @@ I have tools to read, write, edit, search, lint, test, format, and commit code.
|
||||
)
|
||||
record_trace(trace_record)
|
||||
except Exception as exc:
|
||||
from .subsystem_health import record_failure
|
||||
try:
|
||||
from .subsystem_health import record_failure
|
||||
except ImportError: # TUI top-level deploy (#168)
|
||||
from rune.subsystem_health import record_failure
|
||||
|
||||
record_failure("inference_trace", exc, tier=2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user