1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/fs/rc
Michał Matczuk 3247e69cf5 fs/rc/jobs: ExecuteJob propagate the error returned by function
Without this patch the resulting error is first converted to string and then recreated.
This makes it impossible to use the defined error types to figure out the cause of the error,
and may result in invalid HTTP status codes.

This patch adds a test TestExecuteJobErrorPropagation to validate that the errors are
properly propagated.
2019-08-22 16:10:48 +01:00
..
jobs fs/rc/jobs: ExecuteJob propagate the error returned by function 2019-08-22 16:10:48 +01:00
rcflags rc: move job expire flags to rc to fix initalization problem 2019-08-10 17:12:22 +01:00
rcserver rcd: prefix patch for rcd and web-gui 2019-08-22 08:36:10 +01:00
cache_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cache.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
config_test.go rc: fix unmarshalable http.AuthFn in options and put in test for marshalability 2019-08-10 16:22:17 +01:00
config.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
internal.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
params_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
params.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
rc_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
rc.go rc: move job expire flags to rc to fix initalization problem 2019-08-10 17:12:22 +01:00
registry.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00