don't show sqlalchemy debug output
print header length in case of error