Catching 'send_interactive' exception is subtask #103
-
I'm using the send_interactive task in a Nornir subtask to reload switches. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Honestly I don't use nornir at all so I don't know off hand :) It vaguely looks like the task should get stashed in the SubTaskError from looking at this https://github.com/nornir-automation/nornir/blob/develop/nornir/core/exceptions.py#L86-L88 and https://github.com/nornir-automation/nornir/blob/develop/nornir/core/task.py. Is that maybe helpful? |
Beta Was this translation helpful? Give feedback.
Honestly I don't use nornir at all so I don't know off hand :)
It vaguely looks like the task should get stashed in the SubTaskError from looking at this https://github.com/nornir-automation/nornir/blob/develop/nornir/core/exceptions.py#L86-L88 and https://github.com/nornir-automation/nornir/blob/develop/nornir/core/task.py. Is that maybe helpful?