VirtualBox

Changeset 34942 in vbox for trunk


Ignore:
Timestamp:
Dec 10, 2010 10:58:34 AM (14 years ago)
Author:
vboxsync
Message:

Logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r34905 r34942  
    460460        {
    461461            rc = TaskGuest::setProgressErrorInfo(VBOX_E_FILE_ERROR, aTask->progress,
    462                                                  Guest::tr("Invalid installation medium (%s) detected"),
     462                                                 Guest::tr("Invalid installation medium detected: \"%s\""),
    463463                                                 aTask->strSource.c_str());
    464464        }
     
    475475                if (RT_FAILURE(vrc))
    476476                    rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress,
    477                                                          Guest::tr("Could not seek to setup file on installation medium (%Rrc)"), vrc);
     477                                                         Guest::tr("Could not seek to setup file on installation medium \"%s\" (%Rrc)"),
     478                                                         aTask->strSource.c_str(), vrc);
    478479            }
    479480            else
     
    483484                    case VERR_FILE_NOT_FOUND:
    484485                        rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress,
    485                                                              Guest::tr("Setup file was not found on installation medium"));
     486                                                             Guest::tr("Setup file was not found on installation medium \"%s\""),
     487                                                             aTask->strSource.c_str());
    486488                        break;
    487489
    488490                    default:
    489491                        rc = TaskGuest::setProgressErrorInfo(VBOX_E_IPRT_ERROR, aTask->progress,
    490                                                              Guest::tr("An unknown error occured while retrieving information of setup file (%Rrc)"), vrc);
     492                                                             Guest::tr("An unknown error (%Rrc) occured while retrieving information of setup file on installation medium \"%s\""),
     493                                                             vrc, aTask->strSource.c_str());
    491494                        break;
    492495                }
     
    499502            {
    500503                /* Okay, we're ready to start our copy routine on the guest! */
    501                 LogRel(("Automatic update of Guest Additions started\n"));
    502504                aTask->progress->SetCurrentOperationProgress(15);
    503505
     
    542544                             * support the guest execution feature in this version). */
    543545                            case VERR_NOT_FOUND:
     546                                LogRel(("Guest Additions seem not to be installed yet\n"));
    544547                                rc = TaskGuest::setProgressErrorInfo(VBOX_E_NOT_SUPPORTED, aTask->progress,
    545548                                                                     Guest::tr("Guest Additions seem not to be installed or are not ready to update yet"));
     
    549552                             * execution but not the built-in "vbox_cat" tool of VBoxService (< 4.0). */
    550553                            case VERR_INVALID_PARAMETER:
     554                                LogRel(("Guest Additions are installed but don't supported automatic updating\n"));
    551555                                rc = TaskGuest::setProgressErrorInfo(VBOX_E_NOT_SUPPORTED, aTask->progress,
    552556                                                                     Guest::tr("Installed Guest Additions do not support automatic updating"));
     
    562566                    else
    563567                    {
     568                        LogRel(("Automatic update of Guest Additions started\n"));
    564569                        LogRel(("Copying Guest Additions installer to guest ...\n"));
    565570                        aTask->progress->SetCurrentOperationProgress(20);
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