mifi / cognito-backup

CLI for backing up AWS Cogntito User Pools
MIT License
154 stars 26 forks source link

Continue restoration when duplicates happen #35

Closed skywalker-nick closed 6 months ago

skywalker-nick commented 7 months ago

This commit fixes a common issue when a duplicate is found. Let's continue the operation and print out the duplicates. Without this improvement, the restoration will fail when it encounters a duplicate for the first time.

mifi commented 7 months ago

I don't think we should blanket catch all errors. we should only catch the specific error of a duplicate

skywalker-nick commented 6 months ago

@mifi Hi, could you help review the change?

mifi commented 6 months ago

Once we get the lint fixed i think i can merge this