component builder exceptions restored

This commit is contained in:
Vladimir Enchev
2015-03-10 10:54:27 +02:00
parent a13673b90b
commit a514d73cc8

View File

@ -62,7 +62,7 @@ export function getComponentModule(elementName: string, namespace: string, attri
// Create instance of the component. // Create instance of the component.
instance = new instanceType(); instance = new instanceType();
} catch (ex) { } catch (ex) {
//throw new Error("Cannot create module " + moduleId + ". " + ex); throw new Error("Cannot create module " + moduleId + ". " + ex);
} }
if (instance && instanceModule) { if (instance && instanceModule) {