Chore/more error macros (#2686)

* cleaned up MixProcessingError

* Added Error impl to (hopefully) all error enums in the codebase

* Replaced all occurences of error("{0}") with error(transparent)

* Changelog entry
This commit is contained in:
Jędrzej Stuczyński
2022-12-13 17:42:11 +00:00
committed by GitHub
parent a020f2ad1c
commit 97b01db23e
94 changed files with 583 additions and 714 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ impl ShutdownListener {
if self.mode.is_dummy() {
return;
}
log::trace!("Notifying we stopped: {:?}", err);
log::trace!("Notifying we stopped: {err}");
if self.return_error.send(err).is_err() {
log::error!("Failed to send back error message");
}