Closed adamhooper closed 10 years ago
The block of code at https://github.com/documentcloud/cloud-crowd/blob/ae12837ce5a63f4f47be3e52d3a1abf2b4f5797d/lib/cloud-crowd.rb#L115 will throw an exception on a fresh database (like the default SQLite one), because the database doesn't exist so the query fails.
That's unfortunate: had the query succeeded, then CloudCrowd would have printed the lovely error message that explains how to fix the error.
Thanks for reporting Adam, that was pretty good - we were soooo close to doing the right thing :)
The block of code at https://github.com/documentcloud/cloud-crowd/blob/ae12837ce5a63f4f47be3e52d3a1abf2b4f5797d/lib/cloud-crowd.rb#L115 will throw an exception on a fresh database (like the default SQLite one), because the database doesn't exist so the query fails.
That's unfortunate: had the query succeeded, then CloudCrowd would have printed the lovely error message that explains how to fix the error.