diff --git a/deepwell/src/services/file_revision/service.rs b/deepwell/src/services/file_revision/service.rs index 65d5bd52d71..f58eccd4a73 100644 --- a/deepwell/src/services/file_revision/service.rs +++ b/deepwell/src/services/file_revision/service.rs @@ -121,6 +121,7 @@ impl FileRevisionService { // If nothing has changed, then don't create a new revision // Also don't rerender the page, this isn't an edit. if changes.is_empty() { + debug!("No changes in file, performing no action"); return Ok(None); } diff --git a/deepwell/src/services/page_revision/service.rs b/deepwell/src/services/page_revision/service.rs index 5c8b98f3cb8..72a92413038 100644 --- a/deepwell/src/services/page_revision/service.rs +++ b/deepwell/src/services/page_revision/service.rs @@ -181,6 +181,7 @@ impl PageRevisionService { // If nothing has changed, then don't create a new revision if changes.is_empty() { + debug!("No changes in edit, only rerendering the page"); Self::rerender(ctx, site_id, page_id, 0).await?; return Ok(None); }