From d39733cdb84b9389d47a2d8460bb669449a377bd Mon Sep 17 00:00:00 2001 From: Aaron Claydon Date: Mon, 23 Dec 2024 12:09:35 +0000 Subject: [PATCH] fix panic --- pkg/dataimporter/manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dataimporter/manager/manager.go b/pkg/dataimporter/manager/manager.go index 509b339..7b5ee54 100644 --- a/pkg/dataimporter/manager/manager.go +++ b/pkg/dataimporter/manager/manager.go @@ -186,7 +186,7 @@ func ImportDataset(dataset *datasets.DataSet, forceImport bool) error { case datasets.BundleFormatZIP: archive, err := zip.OpenReader(source) if err != nil { - panic(err) + return err } defer archive.Close()