sandbox/sandbox.py: Display failed commands in the detail string See merge request !1081
mentioned in issue #874