Commit 0fd5db21 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Raise error if failed getting the VM id

parent 2e5632cf
......@@ -1074,7 +1074,7 @@ sub list_bases {
for my $vm (@{$self->vm}) {
for my $domain ($vm->list_domains) {
eval { $domain->id };
warn $@ if $@;
confess $@ if $@;
next if $@;
push @domains,($domain) if $domain->is_base;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment