[Bug 1165589] [NEW] Switchboard fails to log the error message with some exceptions.