How to catch Pundit::NotAuthorized error in ruby graphql #5202
Unanswered
Prajwal77777
asked this question in
Q&A
Replies: 1 comment
-
Hey, I'd be happy to help suggest a way to rescue this error. Without seeing the backtrace, I don't have any idea where there error is coming from. But you could try following graphql-ruby's error handling documentation: https://graphql-ruby.org/errors/execution_errors If that's not helpful, please provide the full error message and backtrace and we can investigate further 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there currently i am working on ruby graphql where there i am facing an issue to show error message if user has no permission to perform any action instead of show error message it show as
{
data: {
data_delete: nil
}
}
Beta Was this translation helpful? Give feedback.
All reactions