ok, similar to that stack overflow when serializing Warning, 
I thought of adding toString or message of it to the log message, and that should be reasonably safe, I think.