Catch all exceptions in sync