Skip to content

Commit

Permalink
Bump quiltcore. Handle WorkflowException.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaryaz committed Sep 18, 2023
1 parent 016c59f commit 57fd144
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/nf-quilt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ext{

dependencies {
// quiltcore
implementation 'com.quiltdata.quiltcore:quiltcore:0.0.3'
implementation 'com.quiltdata.quiltcore:quiltcore:0.0.4'

// This dependency is exported to consumers, that is to say found on their compile classpath.
compileOnly "io.nextflow:nextflow:$nextflowVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import com.quiltdata.quiltcore.Namespace
import com.quiltdata.quiltcore.Manifest
import com.quiltdata.quiltcore.key.LocalPhysicalKey
import com.quiltdata.quiltcore.key.S3PhysicalKey
import com.quiltdata.quiltcore.workflows.WorkflowException

import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.node.ObjectNode
Expand Down Expand Up @@ -254,6 +255,8 @@ class QuiltPackage {

try {
m.push(namespace, "nf-quilt:${today()}-${msg}", parsed.workflowName)
} catch (WorkflowException e) {
return 1
} catch (IOException e) {
return 1
}
Expand Down

0 comments on commit 57fd144

Please sign in to comment.