forgejo/modules
Giteabot 9369b38315
Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927)
Backport #25919 by @wxiaoguang

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.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-07-17 10:26:29 +00:00
..
actions Fix activity type match in matchPullRequestEvent (#25746) (#25796) 2023-07-11 06:42:07 +00:00
activitypub
analyze
assetfs Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927) 2023-07-17 10:26:29 +00:00
auth
avatar
base Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
cache Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
charset Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
container
context Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
csv
doctor Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00
emoji
eventsource Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
generate
git Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
gitgraph
graceful Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
hcaptcha
highlight
hostmatcher
html Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
httpcache
httplib Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
indexer Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
issue/template Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
json Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
label
lfs
log Fix sub-command log level (#25537) (#25553) 2023-06-28 17:35:20 +08:00
markup Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mcaptcha
metrics
migration Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mirror
nosql Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
notification Add Adopt repository event and handler (#25497) (#25518) 2023-06-26 20:09:07 +00:00
options
packages Add support for different Maven POM encoding (#25873) (#25890) 2023-07-14 10:27:15 +00:00
paginator
pprof
private Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
process Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository
secret
session Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
setting Add shutting down notice (#25920) (#25922) 2023-07-17 09:44:10 +00:00
sitemap
ssh Fix incorrect config argument position for builtin SSH server (#25341) 2023-06-18 16:56:21 +00:00
storage Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
structs Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
svg Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
sync
system
templates Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
test Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
testlogger Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
timeutil
translation Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
validation Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
web Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
webhook