Tweak the logging a little to include the particular error.