Displaying 2 results from an estimated 2 matches for "raise_error2".
Did you mean:
raise_error
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
...e this:
nbdkit: error: ./python-exception.py: config_complete: error: ['Traceback (most recent call last):\n', ' File "./python-exception.py", line 54, in config_complete\n raise_error1()\n', ' File "./python-exception.py", line 48, in raise_error1\n raise_error2()\n', ' File "./python-exception.py", line 45, in raise_error2\n raise RuntimeError("this is the test string")\n', 'RuntimeError: this is the test string\n']
which can be read by manually unfolding the exception in an editor as:
nbdkit: error: ./python-...
2018 Aug 08
0
Re: [PATCH nbdkit] python: Try harder to print the full traceback on error.
...: error: ./python-exception.py: config_complete: error: ['Traceback
> (most recent call last):\n', ' File "./python-exception.py", line 54, in
> config_complete\n raise_error1()\n', ' File "./python-exception.py",
> line 48, in raise_error1\n raise_error2()\n', ' File
> "./python-exception.py", line 45, in raise_error2\n raise
> RuntimeError("this is the test string")\n', 'RuntimeError: this is the test
> string\n']
>
> which can be read by manually unfolding the exception in an editor as:
&...