Log the message of a throwable (exception)

Currently, an exception when logged doesn't show any details about the exception.

At least the exception's message should be shown, and this PR does that.

Logging the stack trace might also be a good idea to consider.