Skip to content

Commit

Permalink
Release version 0.31.3
Browse files Browse the repository at this point in the history
  • Loading branch information
photino committed Jan 27, 2025
1 parent de1d01c commit a46b508
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/zino-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ anyhow = "1.0.95"
arrayvec = "0.7.6"
base64-simd = "0.8.0"
criterion = "0.5.1"
data-encoding = "2.6.0"
data-encoding = "2.7.0"
indexmap = "2.7.1"
libsm = "0.6.0"
ryu = "1.0.18"
Expand Down
6 changes: 6 additions & 0 deletions crates/zino-core/src/schedule/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ impl JobContext {
pub fn next_tick(&self) -> Option<DateTime> {
self.next_tick
}

/// Returns the execution error.
#[inline]
pub fn execution_error(&self) -> Option<&Error> {
self.execution_error.as_ref()
}
}

impl Default for JobContext {
Expand Down

0 comments on commit a46b508

Please sign in to comment.