Closed Bug 1782619 Opened 2 years ago Closed 2 years ago

If the API key provided is invalid, re-ask one instead of exiting the program.

Categories

(Conduit :: moz-phab, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sdk, Assigned: grammar)

Details

Attachments

(1 file)

STR:

  1. Type moz-phab --install-certificate
  2. Enter an API key with the wrong length

AB:

Phabricator exits with the following error: Phabricator Error: API token "iv4fry4qpmqlvnvarbjusoi3zk3x" has the wrong length. API tokens should be 32 characters long.

EB:

Phabricator should re-ask the user for the API key instead of exiting.

Additional informations:

I ran the bootstrap script to get a copy of mozilla-unified and at the step to set moz-phab I accidentally entered a wrong API key. Instead of re-asking me for a valid key, it errored out and skipped to the next question forcing me to manually call moz-phab after the full install was done.

Assignee: nobody → grobertson
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: