Clean up handle_error function