Ian Wienand 597135d528 log-processor: include full exception traceback
This is currently failing in some cases (I'm sure it is when executor
only jobs end up with things that aren't matched, but can't pinpoint
exactly) but you only get

  "details": "IndexError('list index out of range',)",

which doesn't help find out which list index was out of range.

The get_execption() is for python 2.6 support (described [1]) so we
can use the regular format.  Then include the full traceback in the
details so we can see the line causing problems.

[1] https://docs.ansible.com/ansible/2.5/dev_guide/developing_python_3.html

Change-Id: I20d1d99a48b7a173ab6c792dc3508c27b8047f6a
2019-08-27 18:45:28 +10:00
..
2019-01-30 10:42:12 -08:00
2019-01-30 10:55:58 -08:00
2019-01-30 10:42:12 -08:00