Remove debug strings on error that would compromise security