Skip to content

Add better errors - #70

Merged
codepope merged 3 commits into
superfly:masterfrom
Flaque:better-errors
Jun 26, 2020
Merged

Add better errors#70
codepope merged 3 commits into
superfly:masterfrom
Flaque:better-errors

Conversation

@Flaque

@Flaque Flaque commented Feb 28, 2020

Copy link
Copy Markdown
Contributor

Overview

When a user tries to deploy, but does not have an access token, prompt them to signup:

No api access token available. Please login with 'flyctl auth signup' or 'flyctl auth login'

When a user tries to deploy, but doesn't have an app, prompt them to create one:

No app specified. Maybe create one with 'flyctl apps create [APPNAME]'

@michaeldwan

Copy link
Copy Markdown
Contributor

This is awesome, thanks for submitting!

@codepope
codepope merged commit 4dfb949 into superfly:master Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants