Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

TypeError: Cannot read property 'locale' of undefined #122

Open
artdaw opened this issue Nov 7, 2017 · 0 comments
Open

TypeError: Cannot read property 'locale' of undefined #122

artdaw opened this issue Nov 7, 2017 · 0 comments
Assignees
Labels

Comments

@artdaw
Copy link
Contributor

artdaw commented Nov 7, 2017

How to reproduce

Initialise SDK with bad sales_channel:

const sdk = await AtlasSDK.configure({
  client_id: 'CLIENT_ID',
  sales_channel: 'SALES_CHANNEL_BAD'
});

TypeError: Cannot read property 'locale' of undefined is returned

Expected behaviour
Checked error should be returned

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant