[FIX] Error handling outside request context