Null pointer in logging http error, fixed.
Merge pull request #935 from garvankeeley/nullptr-log-msg

Null pointer in logging http error, fixed.