Improved logging
This commit is contained in:
+15
-2
@@ -51,10 +51,23 @@ impl Engine {
|
||||
)
|
||||
.await
|
||||
{
|
||||
eprintln!("Failed to broadcast Hyperliquid watch list: {error}");
|
||||
self.terminal_server
|
||||
.error(
|
||||
"Broadcaster",
|
||||
&format!("Failed to broadcast HyperLiquid watch list: {error}"),
|
||||
)
|
||||
.await?
|
||||
}
|
||||
}
|
||||
Err(error) => eprintln!("Failed to refresh Hyperliquid watch list: {error}"),
|
||||
|
||||
Err(error) => {
|
||||
self.terminal_server
|
||||
.error(
|
||||
"Broadcaster",
|
||||
&format!("Failed to refresh HyperLiquid watch list: {error}"),
|
||||
)
|
||||
.await?
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user