Skip to content

Commit

Permalink
Update driver.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zengge99 authored Sep 16, 2024
1 parent 3d4e2bc commit 30d71ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/alishare_115/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func (d *AliyundriveShare2Pan115) Link(ctx context.Context, file model.Obj, args
go func() {
defer close(done)
if ok, err := d.client.UploadAvailable(); err != nil || !ok {
fmt.Println("[Debug] UploadAvailable failed")
fmt.Println("[Debug] UploadAvailable failed",err)
return
}

Expand All @@ -282,7 +282,7 @@ func (d *AliyundriveShare2Pan115) Link(ctx context.Context, file model.Obj, args

var fastInfo *driver115.UploadInitResp
if fastInfo, err = d.rapidUpload(fileSize, file_name, d.DirId, preHash, fullHash, link.URL); err != nil {
fmt.Println("[Debug] rapidUpload failed")
fmt.Println("[Debug] rapidUpload failed",err)
return
}

Expand Down

0 comments on commit 30d71ba

Please sign in to comment.