Skip to content

Commit e4b0d64

Browse files
author
Anthony O'Brien
committed
log on exitCodeErr
1 parent 66ede76 commit e4b0d64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func checkForErrorsAndExit(err error) {
3737
exitCode, exitCodeErr := shell.GetExitCode(err)
3838
if exitCodeErr != nil {
3939
exitCode = 1
40+
logger.Println("Unable to determine underlying exit code, so Terragrunt will exit with error code 1")
4041
}
4142
os.Exit(exitCode)
4243
}

0 commit comments

Comments
 (0)