Enable tokio-console (#8897)
Release Notes: - Added tokio-console in production
This commit is contained in:
parent
9a2ed4bf1a
commit
cfffa29f9a
5 changed files with 197 additions and 7 deletions
|
@ -25,6 +25,7 @@ const REVISION: Option<&'static str> = option_env!("GITHUB_SHA");
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
console_subscriber::init();
|
||||
if let Err(error) = env::load_dotenv() {
|
||||
eprintln!(
|
||||
"error loading .env.toml (this is expected in production): {}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue