Skip to content

Commit 146ab58

Browse files
authored
Use print_log for timing trace failure warning
1 parent d0d4721 commit 146ab58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rc/control/daqinterface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def timing_trace(self, event, stage, elapsed_s=None, extra_fields=None):
752752
with open(self.timing_trace_filename(), "a") as outf:
753753
outf.write(" ".join(fields) + "\n")
754754
except IOError as e:
755-
print("WARNING: timing trace write failed, disabling tracing: %s" % e)
755+
self.print_log("w", "Timing trace write failed, disabling tracing: %s" % e)
756756
self._timing_trace_failed = True
757757

758758
def timing_trace_start(self, stage, extra_fields=None):

0 commit comments

Comments
 (0)