mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
add spantrace debug logs
This commit is contained in:
committed by
Aiden McClelland
parent
0a4f60ae26
commit
7adb66cf4c
@@ -91,6 +91,7 @@ impl ManagerMap {
|
||||
if let Some(man) = self.0.write().await.remove(id) {
|
||||
if let Err(e) = man.exit().await {
|
||||
tracing::error!("Error shutting down manager: {}", e);
|
||||
tracing::debug!("{:?}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -325,13 +326,15 @@ impl Manager {
|
||||
Err(e) => {
|
||||
// TODO for code review: Do we return this error or just log it?
|
||||
tracing::error!("Failed to issue notification: {}", e);
|
||||
tracing::debug!("{:?}", e);
|
||||
}
|
||||
Ok(()) => {}
|
||||
}
|
||||
tracing::error!("service crashed: {}: {}", e.0, e.1)
|
||||
tracing::error!("service crashed: {}: {}", e.0, e.1);
|
||||
}
|
||||
Err(e) => {
|
||||
tracing::error!("failed to start service: {}", e)
|
||||
tracing::error!("failed to start service: {}", e);
|
||||
tracing::debug!("{:?}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user