handle hset error