From fb6a87a97b8fa84fa14749eb198f3dda0566374e Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Mon, 16 Oct 2023 22:43:16 -0700 Subject: [PATCH] 0.7.4: print exception stack trace --- CHANGELOG.md | 4 ++++ README.md | 4 ++-- plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy | 3 ++- plugins/nf-quilt/src/resources/META-INF/MANIFEST.MF | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aacd619..b5289682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.7.4] 2023-10-16b + +- Actually print the exception stack trace + ## [0.7.3] 2023-10-16a - Catch and log exception on push failure diff --git a/README.md b/README.md index 37fb020e..f076eb84 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,8 @@ From the command-line, do, e.g.: ```bash # export NXF_VER=23.04.3 -export NXF_PLUGINS_TEST_REPOSITORY=https://github.com/quiltdata/nf-quilt/releases/download/0.7.3/nf-quilt-0.7.3-meta.json -nextflow run main.nf -plugins nf-quilt@0.7.3 +export NXF_PLUGINS_TEST_REPOSITORY=https://github.com/quiltdata/nf-quilt/releases/download/0.7.4/nf-quilt-0.7.4-meta.json +nextflow run main.nf -plugins nf-quilt@0.7.4 ``` For Tower, you can use the "Pre-run script" to set the environment variables. diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy index 8522cf95..3e52d976 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy @@ -142,7 +142,8 @@ ${nextflow} pkg.push(msg, meta) } catch (Exception e) { - log.error("publish failed: ${e.getMessage()}\n${e}", pkg.meta) + log.error("publish failed:", e) + throw e } print("SUCCESS: $pkg\n") } diff --git a/plugins/nf-quilt/src/resources/META-INF/MANIFEST.MF b/plugins/nf-quilt/src/resources/META-INF/MANIFEST.MF index a3c9adec..c389fb18 100644 --- a/plugins/nf-quilt/src/resources/META-INF/MANIFEST.MF +++ b/plugins/nf-quilt/src/resources/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Plugin-Class: nextflow.quilt.QuiltPlugin Plugin-Id: nf-quilt -Plugin-Version: 0.7.3 +Plugin-Version: 0.7.4 Plugin-Provider: Quilt Data Plugin-Requires: >=22.10.6