VirtualBox

Changeset 38145 in vbox for trunk


Ignore:
Timestamp:
Jul 25, 2011 11:02:02 AM (13 years ago)
Author:
vboxsync
Message:

Main-CloneVM: make this error fatal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp

    r38141 r38145  
    928928        settings::Snapshot sn;
    929929        if (!d->snapshotId.isEmpty())
    930             d->findSnapshot(trgMCF.llFirstSnapshot, d->snapshotId, sn);
     930            if (!d->findSnapshot(trgMCF.llFirstSnapshot, d->snapshotId, sn))
     931                throw p->setError(E_FAIL,
     932                                  p->tr("Could not find data to snapshots '%s'"), d->snapshotId.toString().c_str());
     933
     934
    931935
    932936        if (d->mode == CloneMode_MachineState)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette