Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.11.1
* Adjusts the way errors are handled so they can be handled on a per node basis

### 0.11.1
* Fix unit test: Date example type test cases - lastCalendarMonth

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contexture",
"version": "0.11.1",
"version": "0.11.2",
"description": "The Contexture (aka ContextTree) Core",
"main": "src/index.js",
"scripts": {
Expand Down
8 changes: 1 addition & 7 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ let runTypeFunction = config => async (name, node, search) => {
? fn(node, search, schema, config)
: fn(node, schema, config))
} catch (error) {
throw {
message: `Failed running search for ${node.type} (${
node.key
}) at ${name}: ${_.getOr(error, 'message', error)}`,
error,
node,
}
return error
}
}

Expand Down