Commit c7ad4998 authored by Pavel Mashliakovskiy's avatar Pavel Mashliakovskiy 🤹🏻

show correct JS exception with trace in case domain transformation hook broke some entities

parent 3bc1a676
Pipeline #21771 skipped with stage
......@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### Fixed
- show correct JS exception with trace in case domain transformation hook broke some entities
## [5.5.10] - 2020-07-26
## [5.5.9] - 2020-07-19
......
......@@ -85,7 +85,7 @@ function loadDomainIntoJS () {
nativeApp._nativeInitEntity(e.modelName, en, e.meta, e.langs)
} catch (err) {
console.error(`Can't init entity ${en}\n Something wrong in entity JSON`)
throw e
throw err
}
}
console.timeEnd('native init')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment