refactor(events): properly print lua error

This commit is contained in:
Ryan 2025-03-18 17:07:09 -04:00
parent 6d3eb638d7
commit 3735a83f57
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -304,7 +304,7 @@ where
let data = data.clone();
tokio::spawn(async move {
if let Err(error) = callback.call_async::<()>(data).await {
error!("failed to call lua event listener {id} for {event_type}: {error:?}");
error!("failed to call lua event listener {id} for {event_type}: {error}");
}
});
}