odin-detector / odin-data

DAQ software libraries for capturing and storing data from parallel detector systems
https://odin-detector.github.io/odin-data/
Apache License 2.0
8 stars 11 forks source link

frameProcessor startup config causing runtime_error is not caught #302

Closed GDYendell closed 1 year ago

GDYendell commented 1 year ago

When a config message is received from a client, any runtime_errors are caught and handled without shutting down the application, whereas the config messages processed before run() are not caught.

It is currently unclear whether and when plugins should throw runtime_error to propagate errors up to the controller and when they will be caught and handled correctly.

Consider whether this is the correct behavior and document the difference between the two cases.