Skip to content

Commit

Permalink
fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronClaydon committed Dec 23, 2024
1 parent c66e037 commit d39733c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dataimporter/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d39733c

Please sign in to comment.