Introduce run_show_error() and use it to clean up some code