# HG changeset patch # User Aurelien Campeas # Date 1637841429 -3600 # Thu Nov 25 12:57:09 2021 +0100 # Node ID 43c0df16c4ea20c32e854917f194bbed8172b524 # Parent ba39b85e5dbfb9856629d98f9341bda2143676cf process: unbloat the error popup trace And use the logger for details. diff --git a/lairucrem/process.py b/lairucrem/process.py --- a/lairucrem/process.py +++ b/lairucrem/process.py @@ -28,7 +28,8 @@ if proc.returncode: msg = await proc.stderr.read() msg = msg.decode(sys.getdefaultencoding()) - msg = cmd + '\n\n' + msg + if config.DEBUG: + config.logger.error(cmd + '\n\n' + msg) raise OSError(proc.returncode, msg)