mirror of
https://github.com/rclone/rclone.git
synced 2025-03-06 18:32:47 +08:00

Before this fix when uploading a single part file, if the o.fetchAndUpdateMetadata() call failed rclone would call o.setMetaData() with a nil info which caused a crash. This fixes the problem by returning the error from o.fetchAndUpdateMetadata() explicitly. See: https://forum.rclone.org/t/serve-webdav-is-crashing-fatal-error-sync-unlock-of-unlocked-mutex/46300