Skip to content

Commit 262c67b

Browse files
Signal FutureLaunchError instead of BatchtoolsFutureError if failed to submit
1 parent 3540524 commit 262c67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/BatchtoolsFutureBackend-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ launchFuture.BatchtoolsFutureBackend <- local({
315315
info <- capture.output(str(resources))
316316
info <- paste(info, collapse = "\n")
317317
msg <- sprintf("%s\nTROUBLESHOOTING INFORMATION:\nbatchtools::submitJobs() was called with the following 'resources' argument:\n%s\n", msg, info)
318-
stop(BatchtoolsFutureError(msg, future = future))
318+
stop(FutureLaunchError(msg, future = future))
319319
})
320320

321321
if (debug) mdebugf("Launched future #%d", jobid$job.id)

0 commit comments

Comments
 (0)