daemon: small improvements to command error reporting, as well as catching and reporting config service get text dynamic exceptions
This commit is contained in:
parent
0536747d9a
commit
f545726ed5
3 changed files with 26 additions and 9 deletions
|
@ -11,7 +11,7 @@ class CoreCommandError(subprocess.CalledProcessError):
|
|||
|
||||
def __str__(self) -> str:
|
||||
return (
|
||||
f"Command({self.cmd}), Status({self.returncode}):\n"
|
||||
f"command({self.cmd}), status({self.returncode}):\n"
|
||||
f"stdout: {self.output}\nstderr: {self.stderr}"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue