Catch exceptions and continue