Skip to content

Commit

Permalink
fix return error
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Sep 10, 2024
1 parent b2b10c0 commit 66b1f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/globusCheckTransfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func globusCheckTransferHandleTransferTask(
task, err := globusClient.TransferGetTaskByID(taskId)
if err != nil {
log.Printf("Transfer task with ID \"%s\" returned error: %v\n", taskId, err)
return
return []string{}
}
fmt.Printf("Task status: \n=====\n%v\n=====\n", task)

Expand Down

0 comments on commit 66b1f5f

Please sign in to comment.