Displaying 2 results from an estimated 2 matches for "raise_error1".
Did you mean:
raise_error
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
...ect_Str, but they are just about usable if not very readable.
For example you would see an error like 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'...
2018 Aug 08
0
Re: [PATCH nbdkit] python: Try harder to print the full traceback on error.
...st about usable if not very readable.
> For example you would see an error like 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 te...