aboutsummaryrefslogtreecommitdiff
path: root/azalea
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-22 21:52:23 +0000
committermat <git@matdoes.dev>2025-02-22 21:52:23 +0000
commit444993b609d54124183fbcadee121c11897ee20e (patch)
tree2b1dd5fe78c35fa28713451646036e673e2d6b2a /azalea
parent74b52a1fc12334c54eb671c1340e5e835e7bd33b (diff)
downloadazalea-drasl-444993b609d54124183fbcadee121c11897ee20e.tar.xz
debug log CARGO_PKG_VERSION on swarm start
Diffstat (limited to 'azalea')
-rw-r--r--azalea/src/swarm/mod.rs4
1 files changed, 3 insertions, 1 deletions
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<ServerAddress> into a ServerAddress
let address = match address.try_into() {
Ok(address) => address,