make counterpartyd properly log unhandled exceptions