浏览代码

fix: wrong name

Tienson Qin 4 年之前
父节点
当前提交
2f13ce525a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/electron/electron/handler.cljs

+ 1 - 1
src/electron/electron/handler.cljs

@@ -68,7 +68,7 @@
       (utils/send-to-renderer "notification" {:type "error"
       (utils/send-to-renderer "notification" {:type "error"
                                               :payload (str "Write to the file " path
                                               :payload (str "Write to the file " path
                                                             " failed, "
                                                             " failed, "
-                                                            error)}))))
+                                                            e)}))))
 
 
 (defmethod handle :rename [_window [_ old-path new-path]]
 (defmethod handle :rename [_window [_ old-path new-path]]
   (fs/renameSync old-path new-path))
   (fs/renameSync old-path new-path))