Log command errors