@webtypen/webframez-core 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Router/Router.js +1 -1
- package/package.json +1 -1
- package/src/Router/Router.ts +1 -1
package/dist/Router/Router.js
CHANGED
|
@@ -221,7 +221,7 @@ class RouterFacade {
|
|
|
221
221
|
response.setServerResponse(res);
|
|
222
222
|
}
|
|
223
223
|
if (!route) {
|
|
224
|
-
return this.handleError(request, response, 404, "Not found ...");
|
|
224
|
+
return this.handleError(request, response, 404, "Not found '" + request.url + "' ...");
|
|
225
225
|
}
|
|
226
226
|
if (!(route.component && typeof route.component === "function") && !(route.controller && route.method_name)) {
|
|
227
227
|
return this.handleError(request, response, 404, "Missing route function ...");
|
package/package.json
CHANGED
package/src/Router/Router.ts
CHANGED
|
@@ -256,7 +256,7 @@ class RouterFacade {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
if (!route) {
|
|
259
|
-
return this.handleError(request, response, 404, "Not found ...");
|
|
259
|
+
return this.handleError(request, response, 404, "Not found '" + request.url + "' ...");
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
if (!(route.component && typeof route.component === "function") && !(route.controller && route.method_name)) {
|