We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13de375 commit 8315402Copy full SHA for 8315402
include/openPMD/IO/AbstractIOHandlerImpl.hpp
@@ -204,6 +204,17 @@ class AbstractIOHandlerImpl
204
break;
205
}
206
207
+ catch (std::exception const &e)
208
+ {
209
+ std::cerr << "[AbstractIOHandlerImpl] IO Task "
210
+ << internal::operationAsString(i.operation)
211
+ << " failed with exception. Removing task"
212
+ << " from IO queue and passing on the exception. "
213
+ << "Original exception was: \n"
214
+ << e.what() << std::endl;
215
+ (*m_handler).m_work.pop();
216
+ throw;
217
+ }
218
catch (...)
219
{
220
std::cerr << "[AbstractIOHandlerImpl] IO Task "
0 commit comments