« first day (2554 days earlier)      last day (210 days later) » 

16:04
posted on March 21, 2018 by Myles Borins

Notable Changes assert: From now on all error messages produced by assert in strict mode will produce a error diff. (Ruben Bridgewater) #17615 From now on it is possible to use a validation object in throws instead of the other possibilities. (Ruben Bridgewater) #17584 crypto: allow passing null as IV unless required (Tobias Nießen) #18644 fs: support as and as+ flags in stringToFlags() (S

 
2 hours later…
17:51
hello, is it possible for a node.js program to crash even if the line that causes the error is in a try/catch block. ie:
try {
user9107868
@Embedded_Mugs We know what a try/catch block looks like.
sorry hit enter too early:

hello, is it possible for a node.js program to crash even if the line that causes the error is in a try/catch block. ie:
try {
mysql.query('select asdf') // call to mySql with bad query string, so it throws an error
} catch(e) {
}
When I run that code, the program crashes even though its in the try block. Does anyone have any general ideas as to why the try block is not handling the error? thanks
user9107868
@Embedded_Mugs you have to actually handle the error. You can't just put an empty block. That, or something happened when your computer ran that code.

« first day (2554 days earlier)      last day (210 days later) »