Skip to content

Commit 4ade42d

Browse files
committed
increase error message sizes
1 parent 823c6c6 commit 4ade42d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

csv.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ struct base : std::exception {
6464
return error_message_buffer;
6565
}
6666

67-
mutable char error_message_buffer[512];
67+
mutable char error_message_buffer[2048];
6868
};
6969

70-
const int max_file_name_length = 255;
70+
// this only affects the file name in the error message
71+
const int max_file_name_length = 1024;
7172

7273
struct with_file_name {
7374
with_file_name() { std::memset(file_name, 0, sizeof(file_name)); }

0 commit comments

Comments
 (0)