|
@@ -1996,6 +1996,7 @@ func system_fs_handleOpr(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
|
err = srcFshAbs.RemoveAll(rsrcFile)
|
|
|
if err != nil {
|
|
|
+ systemWideLogger.PrintAndLog("File System", "Unable to remove file from "+srcFsh.UUID, err)
|
|
|
common.SendErrorResponse(w, err.Error())
|
|
|
return
|
|
|
}
|
|
@@ -2034,7 +2035,7 @@ func system_fs_handleOpr(w http.ResponseWriter, r *http.Request) {
|
|
|
if srcFsh.RequireBuffer {
|
|
|
common.SendErrorResponse(w, "Incompatible File System Type: Try SHIFT + DELETE to delete file permanently")
|
|
|
} else {
|
|
|
- systemWideLogger.PrintAndLog("File System", "Failed to move file to trash: "+err.Error(), err)
|
|
|
+ systemWideLogger.PrintAndLog("File System", "Failed to move file to trash. See log for more info.", err)
|
|
|
common.SendErrorResponse(w, "Failed to move file to trash")
|
|
|
}
|
|
|
return
|