Bookworm-project / BookwormDB

Tools for text tokenization and encoding
MIT License
84 stars 12 forks source link

Mute query errors on routine builds #114

Closed bmschmidt closed 7 years ago

bmschmidt commented 8 years ago

There's a slew of failed queries on builds, as noted here:

23/2016 15:30:09:ERROR:Query failed: 
SELECT count(*) FROM wordsheap
23/2016 15:30:09:ERROR:Query failed: 
SELECT count(*) FROM titleLookup
23/2016 15:30:09:ERROR:Query failed: 
SELECT count(*) FROM authorLookup
23/2016 15:30:09:ERROR:Query failed: 
SELECT count(*) FROM fedNumberLookup
23/2016 15:30:09:ERROR:Query failed: 
SELECT count(*) FROM paragraphNumberLookup

The code is happily recovering from there--they happen because certain tables aren't yet built, which it then proceeds to build. So nothing should be written to the screen.

bmschmidt commented 7 years ago

Fixed https://github.com/Bookworm-project/BookwormDB/commit/c836b9e17dd0cba4b1d8cdab52ff98c73f6ef418