Use exception handling paradigm for consistency

Adopting exception handling paradigm in the events/migration classes
This error-handling block occurs twice in a row - is there a way to combine them?