We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d281bcf commit aa83d7dCopy full SHA for aa83d7d
codex-rs/core/src/util.rs
@@ -17,7 +17,7 @@ pub(crate) fn backoff(attempt: u64) -> Duration {
17
}
18
19
pub(crate) fn error_or_panic(message: impl std::string::ToString) {
20
- if cfg!(debug_assertions) || env!("CARGO_PKG_VERSION").contains("alpha") {
+ if cfg!(debug_assertions) {
21
panic!("{}", message.to_string());
22
} else {
23
error!("{}", message.to_string());
0 commit comments