Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: String.isString is not a function #2

Open
guiconti opened this issue Oct 22, 2017 · 0 comments
Open

TypeError: String.isString is not a function #2

guiconti opened this issue Oct 22, 2017 · 0 comments

Comments

@guiconti
Copy link
Member

View details in Rollbar: https://rollbar.com/guiconti/reporter/items/3/


TypeError: String.isString is not a function
  File "/Users/guiconti/GitHub/reporter/server/utils/validator.js", line 15, in Object.exports.isValidString.stringToValidate [as isValidString]
      return String.isString(stringToValidate) && stringToValidate.trim().length > 0;
  File "/Users/guiconti/GitHub/reporter/server/controllers/sendError.js", line 31, in module.exports
      if (!validator.isValidString(data.item.title))
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/layer.js", line 95, in Layer.handle [as handle_request]
        fn(req, res, next);
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/route.js", line 137, in next
          layer.handle_request(req, res, next);
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/route.js", line 112, in Route.dispatch
      next();
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/layer.js", line 95, in Layer.handle [as handle_request]
        fn(req, res, next);
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/index.js", line 281, in <unknown>
            return layer.handle_request(req, res, next);
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/index.js", line 354, in param
          return done();
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/index.js", line 365, in param
          return param();
  File "/Users/guiconti/GitHub/reporter/node_modules/express/lib/router/index.js", line 410, in Function.process_params
      param();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant