more update logging

This commit is contained in:
beerpiss 2024-06-27 00:37:38 +07:00
parent 0fb81625b9
commit 9105491454

View File

@ -197,6 +197,9 @@ pub fn self_update(module: &LibraryHandle) -> Result<bool, SelfUpdateError> {
.into_json::<UpdateInformation>()
.context(InvalidUpdateInformationSnafu)?;
debug!(concat!("current commit: ", env!("VERGEN_GIT_SHA")));
debug!("remote commit: {}", response.commit);
if response.commit == env!("VERGEN_GIT_SHA") {
info!("Already up-to-date.");