You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by se...@apache.org on 2015/07/07 10:43:28 UTC

[2/2] incubator-ignite git commit: IGNITE-843 Show URL on 404 error.

IGNITE-843 Show URL on 404 error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8ad2e2da
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8ad2e2da
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8ad2e2da

Branch: refs/heads/ignite-843
Commit: 8ad2e2da4889656ac336bc2ad9f0c33570b27e4b
Parents: 488a5af
Author: sevdokimov <se...@jetbrains.com>
Authored: Tue Jul 7 11:43:21 2015 +0300
Committer: sevdokimov <se...@jetbrains.com>
Committed: Tue Jul 7 11:43:21 2015 +0300

----------------------------------------------------------------------
 modules/web-control-center/nodejs/app.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8ad2e2da/modules/web-control-center/nodejs/app.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/app.js b/modules/web-control-center/nodejs/app.js
index 226ccda..b3a58a6 100644
--- a/modules/web-control-center/nodejs/app.js
+++ b/modules/web-control-center/nodejs/app.js
@@ -109,7 +109,7 @@ app.use('/admin', adminRouter);
 
 // Catch 404 and forward to error handler.
 app.use(function (req, res, next) {
-    var err = new Error('Not Found');
+    var err = new Error('Not Found: ' + req.originalUrl);
     err.status = 404;
     next(err);
 });