Fix sqlite error output.