mirror of
https://github.com/rclone/rclone.git
synced 2026-07-13 01:02:15 -04:00
When the stored token is expired and refreshOrReLogin fails, the returned error wrapped the original 401 and discarded authErr, hiding the actionable reason (e.g. "account requires 2FA - please run: rclone config reconnect remote:"). Wrap both errors so the user sees why re-auth failed and what to do about it. Fixes #9583 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>