Skip to content

Commit

Permalink
migrate-to-v2 troubleshoot: improve support suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
alichay committed Jun 7, 2023
1 parent 2b69f1b commit ec85de1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/command/migrate_to_v2/troubleshoot.go
Expand Up @@ -91,7 +91,10 @@ func runTroubleshoot(ctx context.Context) (err error) {
}

func wrapTroubleshootingErrWithSuggestions(err error) error {
return fmt.Errorf("%w\nplease try running `fly migrate-to-v2 troubleshoot` later, or contact hello@fly.io\n", err)
return fmt.Errorf("%w%s", err, `
please try running 'fly migrate-to-v2 troubleshoot' later.
if the problem persists, try bringing it up in the community forum (https://community.fly.io),
or if you have one, your plan's support mailbox`)
}

type troubleshooter struct {
Expand Down

0 comments on commit ec85de1

Please sign in to comment.