We're updating the issue view to help you get more done. 

Make exit code of native binary from run command available in the exception that is thrown

Description

1 2 3 4 5 6 7 8 try { command("run exit 123").run( echo=true ) } catch ( any e ) { // Works print.line( 'Errored with ' & getSystemSetting( 'exitCode' ) ); // Doesn't work (yet) print.line( 'Errored with ' & e.errorCode ); }

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major