Making the error message surface properly in trace mode.