Skip to content

Commit

Permalink
[SRE-1128] Adds generic handler for wrapping executeStep
Browse files Browse the repository at this point in the history
  • Loading branch information
ImDevinC committed Jul 27, 2023
1 parent eebc826 commit 38aeb99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function executeStepDependencyGraph<
},
operation: () =>
stepWrapper
? stepWrapper(step, () => executeStep(step))
? stepWrapper(step, async () => executeStep(step))
: executeStep(step),
}).catch(handleUnexpectedError),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
Relationship,
StepExecutionContext,
StepResultStatus,
StepWrapperFunction,
} from '@jupiterone/integration-sdk-core';

import {
Expand Down

0 comments on commit 38aeb99

Please sign in to comment.