Skip to content

Conversation

@damienmarchal
Copy link
Contributor

@damienmarchal damienmarchal commented Sep 14, 2021

The existing message:

[DEPRECATED] [DAGNode(root)] The Node.createChild method is deprecated since sofa 19.06.  
To remove this warning message, use 'addChild' instead of 'createChild'.  

Now has the python stacktrace printed:

[DEPRECATED] [DAGNode(root)] The Node.createChild method is deprecated since sofa 19.06.  
To remove this warning message, use 'addChild' instead of 'createChild'.  

At:
  controller.py(10): init

@damienmarchal damienmarchal changed the title [Sofa.Core] Add the python call stack to deprecation message. [Binding/Sofa.Core] Add the python call stack to deprecation message. Sep 15, 2021
@damienmarchal damienmarchal force-pushed the pr-add-callstack-for-deprecation-message branch from 224bf71 to 383c77f Compare September 16, 2021 06:35
@fredroy fredroy merged commit 1c2fad0 into sofa-framework:master Sep 17, 2021
@guparan guparan added this to the v21.12 milestone Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pr: status ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants