VirtualBox

Changeset 56474 in vbox


Ignore:
Timestamp:
Jun 17, 2015 11:09:53 AM (9 years ago)
Author:
vboxsync
Message:

Main/Medium: Don't log an error when the medium is not configured for encryption

File:
1 edited

Legend:

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

    r56030 r56474  
    32283228        AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    32293229
     3230        /* Check whether encryption is configured for this medium. */
    32303231        settings::StringsMap::iterator it = pBase->m->mapProperties.find("CRYPT/KeyStore");
    32313232        if (it == pBase->m->mapProperties.end())
    3232             throw setError(VBOX_E_NOT_SUPPORTED,
    3233                            tr("The image is not configured for encryption"));
     3233            throw VBOX_E_NOT_SUPPORTED;
    32343234
    32353235# ifdef VBOX_WITH_EXTPACK
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