Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upInstalling diesel_cli without e.g. feature `sqlite` can lead to cryptic errors #310
Comments
This comment has been minimized.
|
@mcasper We should probably improve the check if SQLite isn't present, since we won't have that branch as a catch-all. @deadalusai Your issue is that you're not giving a valid PG URL. It should start with |
added a commit
that referenced
this issue
Apr 27, 2016
sgrif
referenced this issue
Apr 27, 2016
Merged
Give an error message when an invalid PG url is given to CLI #311
added a commit
that referenced
this issue
Apr 27, 2016
sgrif
closed this
in
#311
Apr 27, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
deadalusai commentedApr 27, 2016
I have installed
diesel_cliwithout SQLite support (as the SQLite libraries are not installed on my system):Invoking
dieselwith an invalid database url generates a cryptic error message:While the fix is simple (use the correct protocol), I did have to examine the source code to puzzle out the error message. Perhaps an improved error message could be implemented?