Skip to content

Commit

Permalink
Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jan 19, 2024
1 parent d31db55 commit ddf8c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grace-shell/src/main/groovy/org/grails/cli/GrailsCli.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class GrailsCli {
}
catch (Throwable e) {
e = ExceptionUtils.getRootCause(e)
GrailsConsole.instance.error("Error occurred running Grails CLI: $e.message", e)
GrailsConsole.instance.error("Error occurred running Grace CLI: $e.message", e)
exit(1)
}
}
Expand All @@ -203,7 +203,7 @@ class GrailsCli {
private int getBaseUsage() {
System.out.println "Usage: \n\t $USAGE_MESSAGE \n\t $PLUGIN_USAGE_MESSAGE \n\n"
this.execute 'list-profiles'
System.out.println "\nType 'grails help' or 'grails -h' for more information."
System.out.println "\nType 'grace help' or 'grace -h' for more information."

1
}
Expand Down

0 comments on commit ddf8c07

Please sign in to comment.