Fix catching errors from top-level handlers