Skip to content

Commit

Permalink
[Substrait] Fix diagnostics for exporting JSON. (iree-org#835)
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Müller <ingomueller@google.com>
  • Loading branch information
ingomueller-net authored May 27, 2024
1 parent 27e8d9c commit e579d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/SubstraitPB/Export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ translateSubstraitToProtobuf(Operation *op, llvm::raw_ostream &output,
pb::util::MessageToJsonString(*result.value(), &out, jsonOptions);
if (!status.ok()) {
InFlightDiagnostic diag =
op->emitOpError("could not be serialized to binary format");
op->emitOpError("could not be serialized to JSON format");
diag.attachNote() << status.message();
return diag;
}
Expand Down

0 comments on commit e579d12

Please sign in to comment.