Improve error print.