When invoking pinto add on a repo that doesn't exist, the error message is cryptic and unhelpful:
pinto -r NOWHERE add Some-Dist.tar.gz
DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: DBI connect('TEST/.pinto/db/pinto.db','',...) failed: unable to open database file at /Users/jeff/opt/local/pinto/lib/perl5/DBIx/Class/Storage/DBI.pm line 1390. at /Users/jeff/opt/local/pinto/lib/perl5/Pinto/Database.pm line 64
Somewhere, I'm sure we have code that does a sanity check on the repo and spits out better error messages. We probably just need to call it a bit earlier.
When invoking
pinto add
on a repo that doesn't exist, the error message is cryptic and unhelpful:Somewhere, I'm sure we have code that does a sanity check on the repo and spits out better error messages. We probably just need to call it a bit earlier.