🎨 add some debug log

This commit is contained in:
微凉
2021-12-10 22:24:43 +08:00
parent 2f8258053f
commit 78f81ddc3b
3 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,7 @@ func (h *Handler) stripPrefix(p string) (string, int, error) {
func isPathExist(ctx context.Context, fs *FileSystem, path string) (bool, FileInfo) {
file, err := fs.File(path)
if err != nil {
log.Debug(err)
return false, nil
}
return true, file