From 66b1f5fe7a5a389b38682f073811fbf312bfa156 Mon Sep 17 00:00:00 2001 From: consolethinks Date: Mon, 9 Sep 2024 10:14:11 +0200 Subject: [PATCH] fix return error --- cmd/commands/globusCheckTransfer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/commands/globusCheckTransfer.go b/cmd/commands/globusCheckTransfer.go index da038d8..08d8d51 100644 --- a/cmd/commands/globusCheckTransfer.go +++ b/cmd/commands/globusCheckTransfer.go @@ -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)