chore(initDB): display better error message

If the check document fails then display the error.