Add error logging to HankSmartClient