Frontmatter
| id | 6763 |
| title | data.Store: load() => enhance the catch part |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Jun 11, 2025, 12:11 PM |
| updatedAt | Jun 11, 2025, 12:53 PM |
| githubUrl | https://github.com/neomjs/neo/issues/6763 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 11, 2025, 12:53 PM |
Neo.Xhr.promiseJson(opts).catch(err => {/*...*/}).then(data => {/*...*/})The "problem" here is the way how promises got implemented in JS:
If we enter the catch part,
then()will still get triggered.