Add logging for hub invocation errors.