equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 35 forks source link

Add exception handling in event handlers #1609

Closed andchiind closed 3 months ago

andchiind commented 3 months ago

If we have an unhandled exception in an event handler, then Flotilla crashes. This will prevent this in most cases. I have not added try/catch for all the database "Update" calls, even though these can return database exceptions, since we need a more systematic solution for these.

github-actions[bot] commented 3 months ago

:bell: Changes in database folder detected :bell: Do these changes require adding new migrations? :thinking: In that case follow these steps. If you are uncertain, ask a database admin on the team :smile: