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

Crash when locale_mapping is not set #63

Open
sbidoul opened this issue May 20, 2020 · 0 comments
Open

Crash when locale_mapping is not set #63

sbidoul opened this issue May 20, 2020 · 0 comments

Comments

@sbidoul
Copy link
Member

sbidoul commented May 20, 2020

After upgrading to the latest version sites where locale_mapping is not set crash with the following error.

This is surprising because fe895e2 seems to care for that.

May 20 11:46:59 shopinvader-demo bundle[23517]: F, [2020-05-20T11:46:59.918772 #23521] FATAL -- : vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb:156:in `parse'
May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb:156:in `parse'
May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/concerns/locale.rb:10:in `map_locale'
May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/erp_service.rb:185:in `get_header_for_request'
May 20 11:46:59 shopinvader-demo bundle[23517]: vendor/bundle/ruby/2.6.0/bundler/gems/locomotive-shopinvader-4c1baa66d702/lib/shop_invader/services/erp_service.rb:16:in `initialize'
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

No branches or pull requests

1 participant