Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix occasional errors we see when generating a uuid using uuid library by switching to securerandom #7

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

iiilx
Copy link

@iiilx iiilx commented Mar 29, 2023

We occasionally get NoMethodError 'undefined method unpack' for nil:NilClass when generating a UUID using the uuid gem. Others are reporting similar issues: assaf/uuid#28 . The workaround was to use SecureRandom instead

iiilx and others added 9 commits March 29, 2023 12:19
merge from emailage/master
fix occasional errors we see when generating a uuid using uuid library by switching to securerandom
… body is blank bc we see this happen occasionally and want to be able to catch this particular scenario
raise TemporaryError if we do not receive a 200 response code and the body is blank
Add customised exception if response is empty from emailage.
Log body if emailage api returns no json body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants