Catch exceptions on plugin reload