pikpak: fix fatal crash on startup with token that can't be refreshed

This commit is contained in:
Nick Craig-Wood 2024-11-08 17:39:36 +00:00
parent abb4f77568
commit ee72554fb9

View File

@ -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