Move newline in debugging output
Clean up handle_error function