-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Got error ArgumentError: wrong number of arguments (given 2, expected 1)
#1865
Comments
@dim0627 Can you provide the backtrace and the full list of Sentry related gems? That'll help us locate the cause |
I'm getting the exact same error, also within an rspec request spec.
used to work, now I get
|
@Jaco-Pretorius If you also got the error after you upgraded |
@st0012 Ah, that did indeed fix it. I do wish there was a way to enforce that, or to make it more obvious. I ran into this error as part of a PR that dependabot opened. At a high level, why can't |
@st0012 |
This commit bumps all three Sentry gems used by this project to version 5.4.1. An internal API change was made in the Sentry gems which means 5.3.x gems aren't compatible with 5.4.x gems. If all three gems aren't updated at the same time, we end up with test failures containing error messages like this: ``` exception expected, not Class: <ArgumentError> Message: <"wrong number of arguments (given 1, expected 2)"> ``` For further details, see getsentry/sentry-ruby#1859 and getsentry/sentry-ruby#1865.
This commit bumps all three Sentry gems used by this project to version 5.4.1. An internal API change was made in the Sentry gems which means 5.3.x gems aren't compatible with 5.4.x gems. If all three gems aren't updated at the same time, we end up with test failures containing error messages like this: ``` exception expected, not Class: <ArgumentError> Message: <"wrong number of arguments (given 1, expected 2)"> ``` For further details, see getsentry/sentry-ruby#1859 and getsentry/sentry-ruby#1865.
This commit bumps all three Sentry gems used by this project to version 5.4.1. An internal API change was made in the Sentry gems which means 5.3.x gems aren't compatible with 5.4.x gems. If all three gems aren't updated at the same time, we end up with test failures containing error messages like this: ``` exception expected, not Class: <ArgumentError> Message: <"wrong number of arguments (given 1, expected 2)"> ``` For further details, see getsentry/sentry-ruby#1859 and getsentry/sentry-ruby#1865.
Hello team!
I have problem and need help.
I just update sentry-ruby from 4.3.1 to 5.4.1, I got this error with rspec.
Anyone have solution? Let me know please 🙏
The text was updated successfully, but these errors were encountered: