Closed EthianWong closed 7 years ago
it's so odd...
process.title is different ....
but if i create a js just console process.title the result is normal
i make a demo
var a = process.title;
console.log(process.title || "empty");
console.log(a);
console.log(a === process.title);
"process.title" and "a" is always different ...
i run
node app.js
in atom inner terminal will be always different ...
but if i use cmd run app.js result always is true
so maybe this problem from atom or atom terminal (but atom terminal always use cmd )
maybe you should change function to get process.title because many people use atom terminal....
or you can tell developer in development environment should set process.title in application....
then in exceptionless dashboard log always like good
I'm not good at English , so do you understand?
I think these two are related: https://github.com/exceptionless/Exceptionless.JavaScript/issues/62 It comes down to encoding of those fields I think.
Were you able to reproduce this in the master branch? https://github.com/exceptionless/Exceptionless.JavaScript/blob/master/src/services/NodeEnvironmentInfoCollector.ts#L32
It's just will be happend in atom's terminal. If i use system's terminal this problem will be resolve.
so maybe this problem not about your project
but if you want to see this you should use atom and install this package https://atom.io/packages/platformio-ide-terminal for reproduce this problem
but i also seem #62
builder.setProperty("Response", res);
if res object has chinese value , exceptionless dashboard will not be normal.
I'm closing this as this is a duplicate of #62 which I'm working on in the browser and will take a look at your pr for node once it's fixed in the browser :)
if i use this function
the request info like this :
in dashboard
if i use this function
result has change and process_name is unreadable chars
in dashboard
i use windows 10 and language is chinese , file encoding is utf8