Skip to content

cmgr error reporting should be more verbose #3

@dbrumley

Description

@dbrumley

cmgr should tell you what it was trying to do, and on which problem, when it encounters an error.

Case in point: I have 46 challenges in a schema file, and I get this error but have no idea which challenge is causing it:

error: failed to build image: The command '/bin/sh -c make && echo "picoCTF{$FLAG}" > flag.txt' returned a non-zero code: 2

I went through the docs and found export CMGR_LOGGING=debug, which helps here, but it's annoying that I had to do these extra steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions