improve error handling in alloc stats
improve error handling in alloc stats

maytechnet/nomad-ui,jippi/hashi-ui,maytechnet/nomad-ui,iverberk/nomad-ui,jippi/hashi-ui,iverberk/nomad-ui,iverberk/nomad-ui,jippi/hashi-ui,maytechnet/nomad-ui,maytechnet/nomad-ui