mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
component builder exceptions restored
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user