Skip to content

Improve the logging of BotErrors in tenant.py

Adam Coldrick requested to merge sotk/buildbox-logging into master

Description

This MR improves the logging of BotErrors raised when running a bgd bot. Currently only the stdout of the command is logged, which isn't particularly useful especially when empty. This commit adds code to also log the reason for the error and the stderr of the command, and no longer log empty strings.

Issues addressed

Addresses #193 (closed)

Merge request reports