Skip to content

Commit

Permalink
Fix panic when invalid argument Error is displayed
Browse files Browse the repository at this point in the history
todo! macro was in released code
  • Loading branch information
kubo committed Nov 2, 2024
1 parent 0c49553 commit 5bbb87a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 0.6.3 (2024-XX-XX)

Fixed Issues:

* Fix panic when invalid argument Error is displayed

Internal Changes:

* Update ODPI-C to 5.3.0. (see [ODPI-C release notes])
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ impl fmt::Display for Error {
write!(f, ")")
}
Error::InternalError(msg) => write!(f, "{}", msg),
Error::InvalidArgument { .. } => todo!(),
Error::InvalidArgument { message, .. } => write!(f, "{}", message),
}
}
}
Expand Down

0 comments on commit 5bbb87a

Please sign in to comment.