1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-24 08:34:28 +00:00
wxiaoguang ff9a7afe99
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.
2023-07-17 09:47:55 +00:00
..
2023-07-14 11:00:31 +08:00
2023-04-17 11:37:23 +08:00
2023-07-14 11:00:31 +08:00
2023-07-07 05:31:56 +00:00
2023-07-12 19:07:29 +02:00
2023-07-07 05:31:56 +00:00
2023-07-07 05:31:56 +00:00
2023-05-21 22:35:11 +00:00
2023-06-28 08:02:06 +02:00
2023-07-14 11:00:31 +08:00
2023-07-07 05:31:56 +00:00
2023-02-11 08:39:50 +08:00
2023-07-17 10:58:47 +02:00
2022-12-30 23:31:00 +08:00
2023-07-04 18:36:08 +00:00
2023-07-07 05:31:56 +00:00
2023-07-15 11:52:03 +03:00