[web] handle more errors