Skip to content

Commit

Permalink
improve service error (#1734)
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
yjhmelody and bkchr authored Sep 30, 2023
1 parent 7d4f829 commit 8fe947a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/client/service/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ pub enum Error {
#[error("Tasks executor hasn't been provided.")]
TaskExecutorRequired,

#[error("Prometheus metrics error")]
#[error("Prometheus metrics error: {0}")]
Prometheus(#[from] prometheus_endpoint::PrometheusError),

#[error("Application")]
#[error("Application: {0}")]
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),

#[error("Other: {0}")]
Expand Down

0 comments on commit 8fe947a

Please sign in to comment.