Skip to content

Fixing ArgumentError on calling ErrorHandler.submit #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chris-lu
Copy link

Hi,

I found out the error_callback was never called.
A found the following error while activating JRuby error logs:

2016-09-14T14:13:16.906+02:00: TraceType: Exception raised: ArgumentError : wrong number of arguments callingsubmit(2 for 3) ArgumentError: wrong number of arguments callingsubmit(2 for 3) analyze_async at /usr/local/rvm/gems/jruby-1.7.9/gems/opener-webservice-2.2.0/lib/opener/webservice/server.rb:226 process_async at /usr/local/rvm/gems/jruby-1.7.9/gems/opener-webservice-2.2.0/lib/opener/webservice/server.rb:174 async at /usr/local/rvm/gems/jruby-1.7.9/gems/opener-webservice-2.2.0/lib/opener/webservice/server.rb:332

This PR fixed it, now Exceptions like Opener::Core::UnsupportedLanguageError: The language "ca" is not supported are sent to the error_callback URL

@chris-lu
Copy link
Author

I fixed the built by the way.

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.

1 participant