Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip unuseful error message in dev mode when watching local filesystem (
#25919) Before, in dev mode, there might be some error logs like: ``` 2023/07/17 13:54:51 ...s/assetfs/layered.go:221:WatchLocalChanges() [E] Unable to watch directory .: lstat /data/work/gitea/custom/templates: no such file or directory ``` Because there is no "custom/templates" directory. After: ignore such error, no such error message anymore.
- Loading branch information