Skip to content

Commit

Permalink
fix(runtime): use warn! instead of error! (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr authored Jun 14, 2022
1 parent 62f9f6c commit 6389916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/runtime/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ impl RuntimeScope {
Ok(())
}
Err(e) => {
log::error!(
log::warn!(
"{} exited with error: {}",
format!("Task {:x}", child_scope.id().as_fields().0),
e
Expand Down Expand Up @@ -281,7 +281,7 @@ impl RuntimeScope {
Ok(())
}
Err(e) => {
log::error!("{} exited with error: {}", actor.name(), e);
log::warn!("{} exited with error: {}", actor.name(), e);
let err_str = e.to_string();
supervisor_addr.send(Report::Error(ErrorReport::new(
actor,
Expand Down Expand Up @@ -322,7 +322,7 @@ impl RuntimeScope {
Ok(res) => match res {
Ok(_) => Ok(()),
Err(e) => {
log::error!("{} exited with error: {}", actor.name(), e);
log::warn!("{} exited with error: {}", actor.name(), e);
Err(RuntimeError::ActorError(e.to_string()))
}
},
Expand Down

0 comments on commit 6389916

Please sign in to comment.