core/commands2: add: Handle 'addDagnode' errors