displaying command when an error occurs for more clarity