Fix crasher in logging when error stack is suppressed

* Fixes crasher in http://localhost:8000/enwiki/Blahblahdoesnotexist

Change-Id: I34060aeaa70e1b3ccb2a7200bda5b039a1c99cde