Skip to content

Commit

Permalink
refactor: modify error type of RemoteJobScheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Jun 22, 2024
1 parent 840e642 commit fc0e927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mito2/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,11 +746,11 @@ pub enum Error {
source: Arc<Error>,
},

#[snafu(display("Internal error occurred in remote job scheduler"))]
#[snafu(display("Internal error occurred in remote job scheduler: {}", reason))]
RemoteJobScheduler {
#[snafu(implicit)]
location: Location,
source: BoxedError,
reason: String,
},
}

Expand Down

0 comments on commit fc0e927

Please sign in to comment.