From 39cd27d1abdb6893dc7a8f1dc4f018a4a65b6a3e Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Mon, 20 Oct 2025 16:53:35 +0200 Subject: [PATCH] added pulse ID to bsread sending logging; added config file name to worker logging --- dap/accumulator.py | 2 +- dap/worker.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dap/accumulator.py b/dap/accumulator.py index 5781c9d..d0353ae 100644 --- a/dap/accumulator.py +++ b/dap/accumulator.py @@ -73,7 +73,7 @@ def accumulate(accumulator_addr, bsread_host, bsread_port, bsread_window): try: sender.send(pulse_id=pulse_id, timestamp=timestamp, data=data) except: - log.exception(f"bsread failed to send: {data}") + log.exception(f"{pulse_id} bsread failed to send: {data}") diff --git a/dap/worker.py b/dap/worker.py index d0dbb8d..cc18bff 100644 --- a/dap/worker.py +++ b/dap/worker.py @@ -69,7 +69,7 @@ def work(backend_addr, accumulator_addr, visualisation_addr, fn_config, skip_fra try: config = config_file.load() except: - log.exception(f"({pulse_id}) cannot read config file") + log.exception(f"({pulse_id}) cannot read config file: {config_file.fname}") results = metadata.copy()