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

delete_message_batch failed is returning nil rather than empty array … #754

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

JohnMaguir
Copy link
Contributor

…as before, default to empty array if nil returned.

I am seeing errors for Shoryuken::Queue#delete_messages

Processor failed: undefined method `any?' for nil:NilClass
ERROR: lib/shoryuken/queue.rb:26:in `delete_messages'

This simply defaults to an empty array if nil is returned for failed_messages.

Similar fix to #753

…as before, default to empty array if nil returned
Copy link

@marcelohenriq99 marcelohenriq99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@silasrnc
Copy link

@JohnMaguir
I had the same problem, updated to the latest version, and it worked.

@phstc phstc merged commit 7b8cbc7 into ruby-shoryuken:main Nov 28, 2023
19 checks passed
@phstc
Copy link
Collaborator

phstc commented Nov 28, 2023

@JohnMaguir thank you 🎉

@phstc
Copy link
Collaborator

phstc commented Nov 28, 2023

Version 6.1.1 is out with your changes! Thank you again!

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.

4 participants