I am really suffering just now.
Ok, I am writing code in a function node. NOT a subflow.
I am sending it a message and am getting an error but it is vague.
I seem to remember that I got more than just
TypeError: Cannot read properties of undefined (reading 'config')
In the window/list.
How do I get more informative messages?
Please!
Oh, P.S.
This if the config (exert)
/** Configure the logging output */
logging: {
/** Only console logging is currently supported */
console: {
/** Level of logging to be recorded. Options are:
* fatal - only those errors which make the application unusable should be recorded
* error - record errors which are deemed fatal for a particular request + fatal errors
* warn - record problems which are non fatal + errors + fatal errors
* info - record information about the general running of the application + warn + error + fatal errors
* debug - record information which is more verbose than info + info + warn + error + fatal errors
* trace - record very detailed logging + debug + info + warn + error + fatal errors
* off - turn off all logging (doesn't affect metrics or audit)
*/
level: "info",
/** Whether or not to include metric events in the log output */
metrics: false,
/** Whether or not to include audit events in the log output */
audit: false
}
Seems to work ok on other machines with the same settings.