Fix for reported stack traces.

Nuking the errormsg array was wrong. Continue logging and reporting log entry id but leave the error array in place.