rclone/cmd
Benjamin Legrand 8a6fc8535d accounting: fix global error acounting
fs.CountError is called when an error is encountered. The method was
calling GlobalStats().Error(err) which incremented the error at the
global stats level. This led to calls to core/stats with group= filter
returning an error count of 0 even if errors actually occured.

This change requires the context to be provided when calling
fs.CountError. Doing so, we can retrieve the correct StatsInfo to
increment the errors from.

Fixes #5865
2024-09-30 17:20:42 +01:00
..
about docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
all cmd/gitannex: Add the gitannex subcommand 2024-03-26 09:43:43 +00:00
authorize docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
backend docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
bisync bisync: allow blank hashes on tests 2024-09-29 18:37:52 -04:00
cachestats docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cat build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
check docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
checksum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cleanup docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cmount vfs: convert time.Duration option to fs.Duration 2024-07-15 11:09:54 +01:00
config config encryption: set, remove and check to manage config file encryption #7859 2024-09-06 10:34:29 +01:00
copy docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
copyto docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
copyurl docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cryptcheck docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cryptdecode docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
dedupe build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
delete docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
deletefile docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
genautocomplete build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
gendocs build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
gitannex build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
hashsum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
link docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
listremotes Make filtering rules for help and listremotes more lenient 2024-08-15 18:45:12 +02:00
ls docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsd docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsf docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
lsjson docs: group the different options affecting lsjson output 2024-09-07 09:41:08 +01:00
lsl docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
md5sum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
mkdir docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
mount build: fix staticcheck lint errors with golangci-lint v1.60.1 2024-08-14 17:48:24 +01:00
mount2 build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
mountlib docs: document that fusermount3 may be needed when mounting/unmounting 2024-09-18 12:57:01 +01:00
move docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
moveto docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
ncdu fs: refactor base log method name for improved consistency 2024-09-06 17:04:18 +01:00
nfsmount nfsmount: fix stale handle problem after converting options to new style 2024-08-28 07:08:23 +01:00
obscure docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00
purge docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rc docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rcat build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
rcd build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
reveal docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00
rmdir docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
rmdirs docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
selfupdate build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
serve accounting: fix global error acounting 2024-09-30 17:20:42 +01:00
settier docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
sha1sum docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
size docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
sync docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
test build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
touch build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
tree docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
version docs: consistent newline of first line in command output 2024-08-15 18:26:34 +02:00
cmd.go accounting: fix global error acounting 2024-09-30 17:20:42 +01:00
completion.go cmd: make auto completion work for all shells and reduce the size 2024-02-29 14:46:50 +00:00
help.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
progress.go fs: refactor base log method name for improved consistency 2024-09-06 17:04:18 +01:00
selfupdate_disabled.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
selfupdate_enabled.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
siginfo_bsd.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
siginfo_others.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00