Minor stablizing changes before the switch to sqlite

This commit is contained in:
Robert McRackan 2019-11-15 15:58:21 -05:00
parent d53a617bc8
commit 5474446f62
6 changed files with 6 additions and 432 deletions

View file

@ -22,7 +22,8 @@ namespace FileLiberator
if (libraryBook == null)
return null;
var status = await processable.ProcessAsync(libraryBook);
// this should never happen. check anyway. ProcessFirstValidAsync returning null is the signal that we're done. we can't let another IProcessable accidentally send this commans
var status = await processable.ProcessAsync(libraryBook);
if (status == null)
throw new Exception("Processable should never return a null status");