We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c5ff118 + 5f2c47b commit 2dd1a34Copy full SHA for 2dd1a34
src/cmd/cli/command/commands.go
@@ -79,10 +79,14 @@ func Execute(ctx context.Context) error {
79
printDefangHint("Fix the error and try again. To validate the compose file, use:", compose+" config")
80
}
81
82
- if strings.Contains(err.Error(), "secret") {
+ if strings.Contains(err.Error(), "config") {
83
printDefangHint("To manage sensitive service config, use:", "config")
84
85
86
+ if err.Error() == "resource_exhausted: maximum number of projects reached" {
87
+ printDefangHint("To deactivate a project, do:", "compose down")
88
+ }
89
+
90
var cerr *cli.CancelError
91
if errors.As(err, &cerr) {
92
printDefangHint("Detached. The process will keep running.\nTo continue the logs from where you left off, do:", cerr.Error())
0 commit comments