Skip to content

Commit

Permalink
Fixed unhandled error when user data not available during ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
bytebutcher committed Jun 7, 2021
1 parent a07f5eb commit 150a996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws/ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ def get_instance_user_data(self):
except ClientError:
self.console.error(f"Couldn't get user data for {name} "
"- it may no longer exist.")
return
continue

if 'UserData' in response.keys() and 'Value' in response['UserData'].keys():
userdata = b64decode(response['UserData']['Value'])
Expand Down

0 comments on commit 150a996

Please sign in to comment.