DB errors were not being printed out