We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9001b89 commit b57ec5aCopy full SHA for b57ec5a
runtime/src/rt.rs
@@ -16,7 +16,7 @@ use shuttle_common::{
16
};
17
use shuttle_service::{Environment, ResourceFactory, Service};
18
use tokio::net::TcpListener;
19
-use tracing::{debug, info, trace};
+use tracing::{debug, error, info, trace};
20
21
use crate::__internals::{Loader, Runner};
22
@@ -119,8 +119,8 @@ pub async fn start(loader: impl Loader + Send + 'static, runner: impl Runner + S
119
)
120
.await
121
{
122
- eprintln!("ERROR: Health check error: {err}");
123
- exit(200);
+ // Error happens i.e. if something was wrong with the HTTP request
+ error!("Health check error: {err}");
124
}
125
});
126
0 commit comments