commercetools / commercetools/commercetools-sunrise-data
unhandled exception in orders import
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 43
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Getting this error when importing into a clean empty project using the current master:
(node:83096) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'errors' of undefined
at _services.client.execute.catch.err (/Users/nkuehn/GitHub/commercetools-sunrise-data/dist/lib/orders.js:93:75)
at process._tickCallback (internal/process/next_tick.js:68:7)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the orders import in a clean empty project using the current master, then inspect dist/lib/orders.js around line 93 and the surrounding import error path. Done means the reported TypeError is handled during import and the process no longer emits an unhandled promise rejection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100