diff --git a/lib/rest-adapter.js b/lib/rest-adapter.js index 703adbc..90b05fa 100644 --- a/lib/rest-adapter.js +++ b/lib/rest-adapter.js @@ -411,7 +411,7 @@ RestAdapter.prototype._shouldHandleErrors = function() { RestAdapter.remoteMethodNotFoundHandler = function(className) { className = className || '(unknown)'; return function restRemoteMethodNotFound(req, res, next) { - var message = g.f('{{Shared class}} \"%s\" has no method handling %s %s', + var message = g.f('{{Shared class}} \"%s\" has no method handling %s %s', className, req.method, req.url); var error = new Error(message); error.statusCode = 404;