Catch exceptions in anchor