We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9959196 commit 24eeb8cCopy full SHA for 24eeb8c
1 file changed
crates/common/src/pbs/event.rs
@@ -12,7 +12,7 @@ use eyre::{bail, Result};
12
use reqwest::StatusCode;
13
use serde::{Deserialize, Serialize};
14
use tokio::net::TcpListener;
15
-use tracing::{error, info, trace};
+use tracing::{error, info, trace, warn};
16
use url::Url;
17
18
use super::{
@@ -51,7 +51,7 @@ impl BuilderEventPublisher {
51
pub fn new(endpoints: Vec<Url>, http_timeout: Duration) -> Result<Self> {
52
for endpoint in &endpoints {
53
if endpoint.scheme() != "https" {
54
- bail!("BuilderEventPublisher endpoints must use HTTPS (endpoint {endpoint} is invalid)");
+ warn!("BuilderEventPublisher endpoint {endpoint} is insecure, consider using HTTPS if possible instead");
55
}
56
57
Ok(Self {
0 commit comments