def METHOD_NAME(debug):
	'''Like C{show_error()} but with debug message instead of the actual
	error. Intended to be used in C{except} blocks as a catch-all for
	both intended and unintended errors.
	@param debug: debug message for logging
	'''
	# We use debug as log message, rather than the error itself
	# the error itself shows up in the traceback anyway
	exc_info = sys.exc_info()
	error = exc_info[1]
	del exc_info # recommended by manual
	log_error(error, debug=debug)
	if use_gtk_errordialog:
		_run_error_dialog(error)