cqrs-domain
Advanced tools
Comparing version 2.14.77 to 2.14.78
@@ -752,3 +752,7 @@ var Definition = require('../definitionBase'), | ||
debug('handle command'); | ||
command.handle(cmd, aggregateModel); | ||
try { | ||
command.handle(cmd, aggregateModel); | ||
} catch (e) { | ||
return callback(e); | ||
} | ||
@@ -755,0 +759,0 @@ // remove apply function |
{ | ||
"author": "adrai", | ||
"name": "cqrs-domain", | ||
"version": "2.14.77", | ||
"version": "2.14.78", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v2.14.78](https://github.com/adrai/node-cqrs-domain/compare/v2.14.77...v2.14.78) | ||
- catch throwing errors during command handling | ||
## [v2.14.77](https://github.com/adrai/node-cqrs-domain/compare/v2.14.76...v2.14.77) | ||
@@ -2,0 +5,0 @@ - Fix for validation error(s) swallowing thanks to [ssipos90](https://github.com/ssipos90) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
288520
6643