Commit 702bcf0
committed
Merge remote-tracking branch 'origin/pr/587'
* origin/pr/587:
qvm-features-request: unverbose logging of erroring qrexec calls
Pull request description:
Removes redundant stack trace from logs.
While the error caused by `hostname not found` in QubesOS/qubes-issues#9245 is probably hinting at a separate underlying issue, this cleans up the output when errors trigger.
Before:
```
(24/26) Updating the Qubes desktop file App Icons and features...
Traceback (most recent call last):
File "/usr/bin/qvm-features-request", line 111, in <module>
sys.exit(main())
^^^^^^
File "/usr/bin/qvm-features-request", line 102, in main
subprocess.check_call(
File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['qrexec-client-vm', 'dom0', 'qubes.FeaturesRequest']' returned non-zero exit status 1.
error: command failed to execute correctly
(25/26) Updating the desktop file MIME type cache...
(26/26) Updating X fontdir indices...
```
After:
```
(24/26) Updating the Qubes desktop file App Icons and features...
Error: Command `qrexec-client-vm dom0 qubes.FeaturesRequest` returned exit code 1
error: command failed to execute correctly
(25/26) Updating the desktop file MIME type cache...
(26/26) Updating X fontdir indices...
```1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| |||
0 commit comments