Got rid of database error printing