mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
csv: no need for newlines in exception strings
This commit is contained in:
parent
ab88fe48a4
commit
ca63ae0a96
@ -230,7 +230,7 @@ void csv_datasource::parse_csv(T & stream)
|
||||
s << "CSV Plugin: expected a column header at line ";
|
||||
s << line_number << ", column " << index;
|
||||
s << " - ensure this row contains valid header fields: '";
|
||||
s << csv_line << "'\n";
|
||||
s << csv_line;
|
||||
throw mapnik::datasource_exception(s.str());
|
||||
}
|
||||
else
|
||||
@ -329,7 +329,7 @@ void csv_datasource::parse_csv(T & stream)
|
||||
std::ostringstream s;
|
||||
s << "CSV Plugin: # of columns("
|
||||
<< num_fields << ") > # of headers("
|
||||
<< num_headers << ") parsed for row " << line_number << "\n";
|
||||
<< num_headers << ") parsed for row " << line_number;
|
||||
throw mapnik::datasource_exception(s.str());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user