Improve error message when essential task failed (#5918)

* Initial commit

Forked at: 9acf88f58b
Parent branch: origin/master

* Improve error message when essential task failed
This commit is contained in:
Cecile Tonglet
2020-05-06 15:28:00 +02:00
committed by GitHub
parent ddf6f8a1e1
commit fd35738163
+1 -1
View File
@@ -255,7 +255,7 @@ where
let essential_task = std::panic::AssertUnwindSafe(task)
.catch_unwind()
.map(move |_| {
error!("Essential task failed. Shutting down service.");
error!("Essential task `{}` failed. Shutting down service.", name);
let _ = essential_failed.send(());
});