@@ -163,7 +163,7 @@ func createNewFile(edit editContext, filePath, content string, call fantasy.Tool
163163 _, err = edit.files.CreateVersion(edit.ctx, sessionID, filePath, content)
164164 if err != nil {
165165 // Log error but don't fail the operation
166− slog.Debug("Error creating file history version", "error", err)
166+ slog.Error("Error creating file history version", "error", err)
167167 }
168168
169169 recordFileWrite(filePath)
@@ -290,13 +290,13 @@ func deleteContent(edit editContext, filePath, oldString string, replaceAll bool
290290 // User Manually changed the content store an intermediate version
291291 _, err = edit.files.CreateVersion(edit.ctx, sessionID, filePath, oldContent)
292292 if err != nil {
293− slog.Debug("Error creating file history version", "error", err)
293+ slog.Error("Error creating file history version", "error", err)
294294 }
295295 }
296296 // Store the new version
297297 _, err = edit.files.CreateVersion(edit.ctx, sessionID, filePath, "")
298298 if err != nil {
299− slog.Debug("Error creating file history version", "error", err)
299+ slog.Error("Error creating file history version", "error", err)
300300 }
301301
302302 recordFileWrite(filePath)
@@ -431,7 +431,7 @@ func replaceContent(edit editContext, filePath, oldString, newString string, rep
431431 // Store the new version
432432 _, err = edit.files.CreateVersion(edit.ctx, sessionID, filePath, newContent)
433433 if err != nil {
434− slog.Debug("Error creating file history version", "error", err)
434+ slog.Error("Error creating file history version", "error", err)
435435 }
436436
437437 recordFileWrite(filePath)