better error msg language
This commit is contained in:
1 parent
dffbad49b4
commit
1a0c308b65
1 file changed
+1
-1
@@ -40,7 +40,7 @@ func main() {
|
|||||||
default:
|
default:
|
||||||
dokkuNotImplementExitCode, err := strconv.Atoi(os.Getenv("DOKKU_NOT_IMPLEMENTED_EXIT"))
|
dokkuNotImplementExitCode, err := strconv.Atoi(os.Getenv("DOKKU_NOT_IMPLEMENTED_EXIT"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("failed to parse DOKKU_NOT_IMPLEMENTED_EXIT")
|
fmt.Println("failed to retrieve DOKKU_NOT_IMPLEMENTED_EXIT environment variable")
|
||||||
dokkuNotImplementExitCode = 10
|
dokkuNotImplementExitCode = 10
|
||||||
}
|
}
|
||||||
os.Exit(dokkuNotImplementExitCode)
|
os.Exit(dokkuNotImplementExitCode)
|
||||||
|
|||||||
Reference in new issue
Block a user