Prevent badly-formatted dependencies from erroring poetry init
#2554
Labels
area/cli
Related to the command line
area/error-handling
Bad error messages/insufficient error handling
area/init
Related to 'poetry init'/project creation
kind/feature
Feature requests/implementations
Feature Request
Hi 👋
So while running
poetry init
, I got partway through to the interactive dependency section. Then I tried to add a packagedjango debug toolbar
. This threw aValueError
since it wasn't the proper format. Completely fair.However, this
ValueError
crashed thepoetry init
, and so I had to restart, and put all my info in again. Would be more helpful to print an error, and allow me to type in another dependency.The text was updated successfully, but these errors were encountered: