fix error output info
Merge pull request #1639 from ruil2/qp_trace

fix error output info