]> git.ipfire.org Git - thirdparty/systemd.git/commit
report: when a report fails, print the json error details
authorMichael Vogt <michael@amutable.com>
Wed, 29 Apr 2026 15:52:50 +0000 (17:52 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Tue, 5 May 2026 16:13:28 +0000 (18:13 +0200)
commitffd4e7ab0148f67c685f18c585ac220fa562079b
tree1a160637ae828a304087efe49769c5642b1aae32
parent9c336ef6eb9357de71df3163c7a511c9fb470474
report: when a report fails, print the json error details

When a report upload fails the backend often provides useful
details via the varlink error. Show them as part of the upload
error message. For now we just dump the json because we have
no structure that the backends should follow. We may want to
consider adding one (like check for an "error_message" key in
the json). But for now this is a nice step forward.
src/report/report-upload.c