Skip to content

Commit

Permalink
fix print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Nov 5, 2024
1 parent 7fe3a58 commit 9b67be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clp_ffi_js/ir/decoding_methods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ auto get_version(clp::ReaderInterface& reader) -> std::string {
clp::ffi::ir_stream::deserialize_preamble(reader, metadata_type, metadata_bytes)
};
if (clp::ffi::ir_stream::IRErrorCode::IRErrorCode_Success != deserialize_preamble_result) {
SPDLOG_CRITICAL("Failed to deserialize preamble for version reading");
SPDLOG_CRITICAL("Failed to deserialize preamble for version reading: {}", clp::enum_to_underlying_type(deserialize_preamble_result));

throw ClpFfiJsException{
clp::ErrorCode::ErrorCode_Failure,
__FILENAME__,
__LINE__,
"Failed to deserialize preamble for version reading"
std::format("Failed to deserialize preamble for version reading: {}", clp::enum_to_underlying_type(deserialize_preamble_result))
};
}

Expand Down

0 comments on commit 9b67be9

Please sign in to comment.