Changeset 89719 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 15, 2021 6:51:56 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145170
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp
r87278 r89719 444 444 RTStrmPrintf(g_pStdErr, "Interpreting %ls...\n", path.raw()); 445 445 rc = pAppliance->Interpret(); 446 com::ErrorInfo info0(pAppliance, COM_IIDOF(IAppliance)); 447 446 com::ErrorInfoKeeper eik; 447 448 /** @todo r=klaus Eliminate this special way of signalling 449 * warnings which should be part of the ErrorInfo. */ 448 450 com::SafeArray<BSTR> aWarnings; 449 451 if (SUCCEEDED(pAppliance->GetWarnings(ComSafeArrayAsOutParam(aWarnings)))) … … 457 459 } 458 460 461 eik.restore(); 459 462 if (FAILED(rc)) // during interpret, after printing warnings 460 463 { 461 com::GluePrintErrorInfo(info0); 462 com::GluePrintErrorContext("Interpret", __FILE__, __LINE__); 464 com::GlueHandleComError(pAppliance, "Interpret()", rc, __FILE__, __LINE__); 463 465 break; 464 466 }
Note:
See TracChangeset
for help on using the changeset viewer.