avoid long lines

It is a coding style violation.
log exceptions

Don't just throw away the useful error messages!
Merge pull request #2408 from greg0ire/log_exceptions

[DX]Log exceptions