From 444993b609d54124183fbcadee121c11897ee20e Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 22 Feb 2025 21:52:23 +0000 Subject: debug log CARGO_PKG_VERSION on swarm start --- azalea/src/swarm/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'azalea/src') diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index 2856a1cc..696f751b 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -19,7 +19,7 @@ use bevy_ecs::{component::Component, entity::Entity, system::Resource, world::Wo use futures::future::{join_all, BoxFuture}; use parking_lot::{Mutex, RwLock}; use tokio::sync::mpsc; -use tracing::error; +use tracing::{debug, error}; use crate::{BoxHandleFn, DefaultBotPlugins, HandleFn, JoinOpts, NoState, StartError}; @@ -362,6 +362,8 @@ where "There must be exactly one state per bot." ); + debug!("Starting Azalea {}", env!("CARGO_PKG_VERSION")); + // convert the TryInto into a ServerAddress let address = match address.try_into() { Ok(address) => address, -- cgit v1.2.3