Eugene Obrezkov
Eugene Obrezkov
@NikkiDreams thanks for help. We can integrate your JSON-spec compatible blueprints alongside with our current blueprints and allow to users choose which one they want to use. When you will...
@NikkiDreams do you think better to implement this in hooks ? I thought custom blueprints will be enough.
@NikkiDreams it would be a great step forward when you implement JSON API :+1: Yeah, responses are a little different but we can use `root` parameter to override default response...
@prisonier `_.assign()` mixes objects (`extend` at previous versions of lodash\underscore\whatever). If data contains some information about error it should mix into the response object and respond to you.
@prisonier oh, these type of errors you can't respond :)
@prisonier that's a bad idea to respond with stack trace or something. Better to log them into files with daily rotate, IMHO. You will have all the errors in log...
@prisonier could you send the whole stack trace of your case ? I wondering if Sails do something to simplify the stack trace. I do no magic in the generator...
@prisonier may it be because of different log levels in your configuration file ?
@prisonier I have no idea why it's happening. Do you have some ideas ?
@prisonier try to disable winston hook in `.sailsrc` file. Good idea, can be because of that.