Use the `message` method to get exception info

Withot this, the error is "Could not request certificate: system lib",
which is not very helpful.
Merge pull request #1563 from djmitche/log-exception-message

Use the `message` method to get exception info