cat an error log if it fails