From 55634244015a07449a845e694b4e57be67077ef0 Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" Date: Wed, 10 Jan 2024 14:41:13 -0800 Subject: [PATCH] print and rethrow --- plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy index c0314654..f45bff70 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy @@ -142,10 +142,9 @@ ${nextflow} pkg.push(msg, meta) } catch (Exception e) { - log.error('publish failed:', e) + log.error("Exception: ${e}") print("FAILED: $pkg\n") - return - // throw e + throw new RuntimeException(e) } print("SUCCESS: $pkg\n") }