rclone/fs/rc/jobs
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
..
job.go fs/rc/jobs: ExecuteJob propagate the error returned by function 2019-08-22 16:10:48 +01:00
job_test.go fs/rc/jobs: ExecuteJob propagate the error returned by function 2019-08-22 16:10:48 +01:00