Closed hueniverse closed 5 years ago
This change goes against your point since it is no longer caught by the 'system'
filter in Bounce
, which means it will now be handled as an application error.
Hmm. I will make bounce identify it. Good point.
It used to be possible to pass your own error object rather than just an error message. Was this change intentional?
Nope. The test was bad so it got removed by mistake.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
assert()
is meant for simple API input validation and developer errors. It should just throw to generate a stack + message. The existing implementation was also wrong because it was using the wrong node option for changing the stack starting point.