Catch exceptions from sandbox