debian-forge/osbuild
Christian Kellner aaa51e22a6 api: properly serialize the exception's traceback
Use `traceback.print_tb()` to serialize the exceptions' backtrace.
The previously used expression `str(e.__traceback__)` will just
give `<traceback object at 0x…>`, which is not very helpful.
Add a test to check that the method name that raises the exception,
also called `exception`, is in the traceback.
2020-10-09 10:47:44 +02:00
..
util osbuild: fix spelling mistakes found by codespell 2020-10-06 14:41:00 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: use osbuild_cli directly as main entry 2020-07-17 16:30:46 +01:00
api.py api: properly serialize the exception's traceback 2020-10-09 10:47:44 +02:00
buildroot.py buildroot: return a new CompletedBuild with output 2020-08-31 15:06:36 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py osbuild: unified libdir handling 2020-08-04 09:02:22 +02:00
meta.py meta: also validate the schema for sources 2020-06-02 09:50:14 +02:00
monitor.py monitor: add assembler/stage duration 2020-08-06 16:19:47 +02:00
objectstore.py objectstore: get returns object not path 2020-08-26 15:10:12 +02:00
pipeline.py api: use more generic error member for exceptions 2020-10-09 10:47:44 +02:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00