Skip to content

Commit

Permalink
ProcHandler's service header
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Rovnanik committed Feb 6, 2025
1 parent e36d0a1 commit 38002cf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions framework/service/ars/rockycube/sp/ProcHandler.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import ars.rockycube.endpoint.ProcedureExecutor

def launchWithParams()
{
ProcedureExecutor pe = new ProcedureExecutor()
try {
return pe.executeProcedureWithParams(connectionName, procedureName, closureItemId)
} catch (Exception exc){
ec.logger.error("Procedure executor failed when executing: ${exc.message}")
ec.message.addPublic(exc.message, 'error')
throw exc
}
}

0 comments on commit 38002cf

Please sign in to comment.