(PE-3198) Log exceptions in shutdown-on-error
Merge pull request #132 from cprice404/maint/master/PE-3198-log-exceptions-in-shutdown-on-error

(PE-3198) Log exceptions in shutdown-on-error