Skip to content

Conversation

@fred84
Copy link
Contributor

@fred84 fred84 commented Aug 14, 2023

scripter.Run checks for the specific error instance to determine if a script is missing.
When a user adds a hook and wraps errors inside it, scripter.Run stops behaving as expected.
This PR unwraps an error before checking whether it is the NOSCRIPT error.

@fred84 fred84 changed the title Handle wrapped error in scripter.Run Handle wrapped errors in scripter.Run Aug 14, 2023
@ofekshenawa ofekshenawa merged commit 81947da into redis:master Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants