diff --git a/backend/pikpak/pikpak.go b/backend/pikpak/pikpak.go index b70ecf92a..f2a1390f1 100644 --- a/backend/pikpak/pikpak.go +++ b/backend/pikpak/pikpak.go @@ -561,6 +561,7 @@ func newFs(ctx context.Context, name, path string, m configmap.Mapper) (*Fs, err if strings.Contains(err.Error(), "invalid_grant") { return f, f.reAuthorize(ctx) } + return nil, err } return f, nil