Skip to content

Commit

Permalink
log exception
Browse files Browse the repository at this point in the history
change-type: patch
  • Loading branch information
ab77 committed Jun 18, 2024
1 parent 5251603 commit 9659ff6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generic_provider/generic_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ def handle_event(self, event=None, context=None):
),
file=sys.stderr
)
except:
except Exception as e:
if self.verbose: print_exc()
if not self.profile:
kwargs['aws_access_key_id'] = os.getenv('AWS_ACCESS_KEY_ID')
kwargs['aws_secret_access_key'] = os.getenv('AWS_SECRET_ACCESS_KEY')
Expand Down

0 comments on commit 9659ff6

Please sign in to comment.