You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
Inside the function initMiddleware there is the following call:
app.set('showStackError', true);
What is the intent behind this? I suspect it is related to whether or not to show full stack traces in the client response on error, however I am puzzled as to how/where this is used. I ask this question for the following reasons:
this setting doesn't appear to be used/read anywhere else in the app. i.e. a search here in the github repository for the setting showStackError returns only a single result, i.e. where it is set. I understand from this that it is probably not intended to be 'used' by the app but rather by the express module internally;
according to the express API doc, app.set(name, value) assigns setting name to value, where name is one of the properties from the app settings table. However, I note that showStackError isn't listed in said app settings table.
I must admit, I am still learning and understanding the meanjs project so please forgive me in advance if I have misunderstood something.
Thanks for your time reading and considering this question.
Sincerely,
Dan
The text was updated successfully, but these errors were encountered:
@danoz-direct it's an old one indeed that doesn't exist anymore.
Can you submit a PR to remove both this one and the other jsonp option that you noted in the other issue?
Hi folks,
A query regarding a setting in module config/lib/express.js...
Inside the function
initMiddleware
there is the following call:app.set('showStackError', true);
What is the intent behind this? I suspect it is related to whether or not to show full stack traces in the client response on error, however I am puzzled as to how/where this is used. I ask this question for the following reasons:
showStackError
returns only a single result, i.e. where it is set. I understand from this that it is probably not intended to be 'used' by the app but rather by the express module internally;app.set(name, value)
assigns settingname
tovalue
, wherename
is one of the properties from the app settings table. However, I note thatshowStackError
isn't listed in said app settings table.I must admit, I am still learning and understanding the meanjs project so please forgive me in advance if I have misunderstood something.
Thanks for your time reading and considering this question.
Sincerely,
Dan
The text was updated successfully, but these errors were encountered: