Removed global error handler