Comparing version 1.0.35 to 1.0.36
@@ -178,2 +178,8 @@ "use strict"; | ||
converters = _controller$annotatio3 === void 0 ? {} : _controller$annotatio3; | ||
if (!mappings) { | ||
logger.warn("Controller ".concat(name, " does not define RequestMapping")); | ||
return; | ||
} | ||
parameterConverters[name] = converters; | ||
@@ -264,2 +270,4 @@ parameterValidators[name] = validators; | ||
logger.debug(err); | ||
if (!req.xhr) { | ||
@@ -266,0 +274,0 @@ res.render('error', { |
{ | ||
"name": "vweb-mvc", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"description": "mvc ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
@@ -122,2 +122,6 @@ import {AppScope, Controller} from "../anno"; | ||
const {mapping, mappings, name, validators = {}, converters = {}} = controller.annotation; | ||
if (!mappings) { | ||
logger.warn(`Controller ${name} does not define RequestMapping`); | ||
return; | ||
} | ||
parameterConverters[name] = converters; | ||
@@ -181,2 +185,3 @@ parameterValidators[name] = validators; | ||
} | ||
logger.debug(err); | ||
if (!req.xhr) { | ||
@@ -183,0 +188,0 @@ res.render('error', {err}); |
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
105205
2688