Conversation
| var obj = mxs._nativeFactory.createElement(type, rootContainerInstance, props); | ||
| } catch (e) { | ||
| let message = `ERROR Type: ${type}\nproperties: ${JSON.stringify(props)}`; | ||
| console.error(`${message}\n${e.message}`); |
There was a problem hiding this comment.
I think @grozdanov uses logError / logWarning for all kinds of output.
There was a problem hiding this comment.
I would like to have completely independent (from the factory) code which pops the exception message since createElement might fail for the text element as well. I will pull this branch and re-work it.
|
WIP: Just added SpatialLogger which purpose would be to render spatial log messages. |
|
Testing with |
|
The reason for the exception has been identified: |
|
In order to activate the |
Thank you for your contribution to MagicScript Project.
Before submitting this PR, please make sure: