Fire raw exception across the event bus
(exc, opts, job=None, node="minion")
| 38 | |
| 39 | |
| 40 | def fire_exception(exc, opts, job=None, node="minion"): |
| 41 | """ |
| 42 | Fire raw exception across the event bus |
| 43 | """ |
| 44 | if job is None: |
| 45 | job = {} |
| 46 | event = salt.utils.event.SaltEvent(node, opts=opts, listen=False) |
| 47 | event.fire_event(pack_exception(exc), "_salt_error") |
nothing calls this directly
no test coverage detected