Skip to content

Commit

Permalink
修复log.Fatalln导致程序退出的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyzchen committed Mar 1, 2022
1 parent f6e30dd commit f5ee494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (u *Uploader) Upload() (UploadResponse, error) {

partSeq, err := strconv.Atoi(uploadResp.PartSeq)
if err != nil {
log.Fatalln("strconv.Atoi failed, err:", err)
log.Println("strconv.Atoi failed, err:", err)
return ret, err
}

Expand Down

0 comments on commit f5ee494

Please sign in to comment.