405902a Handle network errors during page refresh

Authored and Committed by Radoslaw Szwajkowski 2 years ago
    Handle network errors during page refresh
    
    1. error.status == 0  - if network is down the reported status code is
       zero which bypasses some of our checks. Fixed by returning
       the entire error object.
    2. temporary network error causes VMs/pools to be removed from
       the dashboard. Fixed by removing only if the server reported 404.
    3. use common filtering routine to process VMs and pools retrieved
       during page refresh
    
        
file modified
+43 -35
file modified
+1 -1
file modified
+20 -19