We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19fec4 commit b6b25c5Copy full SHA for b6b25c5
rust/cubeorchestrator/src/query_message_parser.rs
@@ -13,7 +13,7 @@ pub enum ParseError {
13
EmptyResultSet,
14
NullRow,
15
ColumnNameNotDefined,
16
- FlatBufferError,
+ FlatBufferError(String),
17
ErrorMessage(String),
18
}
19
@@ -53,7 +53,7 @@ impl QueryResult {
53
opts.max_tables = 10_000_000; // Support up to 10M tables
54
55
let http_message = root_as_http_message_with_opts(&opts, msg_data)
56
- .map_err(|_| ParseError::FlatBufferError)?;
+ .map_err(|err| ParseError::FlatBufferError(err.to_string()))
57
58
match http_message.command_type() {
59
HttpCommand::HttpError => {
0 commit comments