Skip to content

Commit

Permalink
fix: Consistency in the capitalization of tracing statements
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxDevon committed Jul 11, 2024
1 parent 65d0a26 commit 6dcf269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twilight-lavalink/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl Connection {
};
}

tracing::error!("No session id is found. Session id should have been provided from the websocket connection already.");
tracing::error!("no session id is found. Session id should have been provided from the websocket connection already.");

Err(NodeError {
kind: NodeErrorType::OutgoingEventHasNoSession,
Expand All @@ -592,7 +592,7 @@ impl Connection {
let (method, url) = self.get_outgoing_endpoint_based_on_event(&outgoing)?;
let payload = serde_json::to_string(&outgoing).expect("serialization cannot fail");

let authority = url.authority().expect("Authority comes from endpoint. We should have a valid authority and is just used in the header.");
let authority = url.authority().expect("Authority comes from endpoint");

let req = Request::builder()
.uri(url.borrow())
Expand Down

0 comments on commit 6dcf269

Please sign in to comment.