From 565855eb6a1b7b2b164dcbfa2155df7d9e4c2b8f Mon Sep 17 00:00:00 2001 From: Ernest Prabhakar Date: Tue, 17 Oct 2023 12:27:13 +0200 Subject: [PATCH] improve debugging --- Makefile | 2 +- plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy | 4 +++- .../nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8916f0f8..2257631c 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ deps: refresh: ./gradlew --refresh-dependencies dependencies -install: +install: compile ./gradlew copyPluginZip rm -rf ${HOME}/.nextflow/plugins/$(PROJECT)-${VERSION} cp -r build/plugins/$(PROJECT)-${VERSION} ${HOME}/.nextflow/plugins/ diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy index e1513a18..4a9e20dd 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltProduct.groovy @@ -143,7 +143,9 @@ ${nextflow} } catch (Exception e) { log.error("publish failed:", e) - throw e + print("FAILED: $pkg\n") + return + // throw e } print("SUCCESS: $pkg\n") } diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy index 78726f06..24193fa5 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy @@ -244,7 +244,7 @@ class QuiltPackage { builder.setMetadata((ObjectNode)mapper.valueToTree(fullMeta)) Manifest m = builder.build() - + log.debug("QuiltPackage.push", m) m.push(namespace, "nf-quilt:${today()}-${msg}", parsed.workflowName) }