[elbe-devel] [PATCH 2/4] sdk: improve error handling and logging
Kurt Kanzenbach
kurt at linutronix.de
Thu Feb 28 16:10:54 CET 2019
On Thu, Feb 28, 2019 at 01:30:09PM +0100, Manuel Traut wrote:
> None of the command executions in extract_pkg() are logged.
> If a command fails fallbacks are implemented. But what is
> actually executed can't be seen.
>
> This makes the log parameter of extract_pkg non-optional
> and use log.do() instead of system() to get command execution
> logged.
>
> It also fixups the callers to pass in a log object.
>
> Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Kurt Kanzenbach <kurt at linutronix.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190228/e5186986/attachment.sig>
More information about the elbe-devel
mailing list