Skip to content

Commit

Permalink
Adding error
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrj committed May 9, 2023
1 parent 5a87500 commit 9bd013a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/src/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,8 @@ export async function handler(event: any): Promise<any> {
|| action.resourceType === "rds-cluster"
|| action.resourceType === "ecs-service") {
return processStateAction(stateMachineArn, action);
} else {
throw new Error(`Unsupported resource type ${action.resourceType}`);
}
}
}

0 comments on commit 9bd013a

Please sign in to comment.