Add some new output statements for errors.