diff -r 71ba88258ea0 -r 5b91bbab1ac0 src/behavior.c --- a/src/behavior.c Sat May 10 15:06:47 2025 +0200 +++ b/src/behavior.c Sat May 10 15:42:56 2025 +0200 @@ -52,8 +52,8 @@ } AscBehavior *behavior = cxListEmplace(node->behaviors); if (behavior == NULL) { - // TODO: output ID of node once we have implemented that - asc_error("Failed to add behavior to scene node."); + const cxstring node_name = asc_scene_node_get_name(node); + asc_error("Failed to add behavior to scene node %"CX_PRIstr, CX_SFMT(node_name)); return NULL; } behavior->enabled = true;