From c042c815a13da98fa5744d5f6e266ec3d85acb00 Mon Sep 17 00:00:00 2001 From: Alessio Igor Bogani <alessio.bogani@elettra.eu> Date: Wed, 31 Aug 2022 16:30:28 +0200 Subject: [PATCH] Print the error --- src/Agilent4uhv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Agilent4uhv.cpp b/src/Agilent4uhv.cpp index 3e29734..8a278d4 100644 --- a/src/Agilent4uhv.cpp +++ b/src/Agilent4uhv.cpp @@ -1809,6 +1809,7 @@ void* Agilent4uhvWorker::run_undetached(void * /*ptr*/) it = device->polled_windows.begin(); } } catch(Tango::DevFailed &e) { + ERROR_STREAM << string(e.errors[0].desc) << endl; /* Restart from begin */ it = device->polled_windows.begin(); /* Set UNKNOWN state */ -- GitLab