Comparing version 0.5.8 to 0.5.9
@@ -78,3 +78,8 @@ 'use strict'; | ||
// Find the matching route | ||
const match = self.router.match(parse(req).pathname, req.method); | ||
let match | ||
try { | ||
match = self.router.match(parse(req).pathname, req.method); | ||
} catch (err) { | ||
return self.handleError(req, res, err); | ||
} | ||
if (!match) { | ||
@@ -81,0 +86,0 @@ return self.handleError(req, res, new exceptions.RoutingError('No route matches')); |
{ | ||
"name": "bay", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "The framework", | ||
@@ -5,0 +5,0 @@ "main": "application.js", |
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
45856
1531