@kaliber/build 0.0.153 → 0.0.154
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/serve.js +1 -1
- package/package.json +1 -1
package/lib/serve.js
CHANGED
@@ -178,7 +178,7 @@ function getDataAndRouteTemplate(routeTemplate, location, req) {
|
|
178
178
|
return [dataOrPromise, envRequire(indexPath)]
|
179
179
|
}
|
180
180
|
|
181
|
-
function serveInternalServerError(error,
|
181
|
+
function serveInternalServerError(error, req, res, next) {
|
182
182
|
const response = res.status(500)
|
183
183
|
if (isProduction) {
|
184
184
|
findFile(req.path, internalServerError)
|
package/package.json
CHANGED