[commit] r2377 - trunk/GME/Mga
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Oct 1 14:14:24 CDT 2013
Author: ksmyth
Date: Tue Oct 1 14:14:24 2013
New Revision: 2377
Log:
Better ErrorInfo for failing to start addon
Modified:
trunk/GME/Mga/MgaProject.cpp
Modified: trunk/GME/Mga/MgaProject.cpp
==============================================================================
--- trunk/GME/Mga/MgaProject.cpp Tue Oct 1 14:14:15 2013 (r2376)
+++ trunk/GME/Mga/MgaProject.cpp Tue Oct 1 14:14:24 2013 (r2377)
@@ -384,6 +384,10 @@
metapr = 0;
projconn.Empty();
parconn.Empty();
+ // We've already called SetErrorInfo, don't call it again
+ if (e.hr == E_MGA_COMPONENT_ERROR) {
+ return e.hr;
+ }
)
}
@@ -1243,7 +1247,7 @@
vec.resize(p);
CopyTo(progids, &vec[0], (&vec[0])+vec.size());
inautoaddoncreate = true;
- CComBSTR errs;
+ CComBSTR errs = L"Could not create AddOn: ";
for(std::vector<CComBstrObj>::iterator i = vec.begin(); i < vec.end(); ++i) {
try {
CComPtr<IMgaComponent> addon;
More information about the gme-commit
mailing list