12e3a05 Get the domain again before cleaning it up, catch errors

Authored and Committed by adamwill 6 years ago
1 file changed. 12 lines added. 2 lines removed.
    Get the domain again before cleaning it up, catch errors
    
    Whoops, that last commit just wasn't very good. We need to
    re-open the libvirt connection and re-get the domain object,
    and also we should catch errors while destroying and undefining
    the domain...
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+12 -2