Closed naqvis closed 2 years ago
Using the latest commit
Version : 0.50.0-18 Commit : b80b1bc464f95b3ad6c2f2b38c2e7c0acc065877 Commit Date : Thu, 25 Aug 2022 11:47:51 +0800 Host : Darwin-21.6.0 arm64 OpenSSL : OpenSSL 1.1.1q 5 Jul 2022 Builtin GUI : Yes Samples : Yes
onEnd
For example trying to access any valid variable doesn't yield any outcome.
.onEnd( () => console.log('print some global variable', __inbound.remoteAddress) )
Won't print anything, but logging any string literal works.
For example trying to access any invalid or non-existing variable doesn't yield any error/warning.
.onEnd( () => console.log('print some non existing variable', _not_existing_variable) )
No error/warning is generated.
This bug is solved in a9474a551866a89388420f99a144316301236309. Please verify it @naqvis Thanks.
This bug is solved in a9474a5. Please verify it @naqvis Thanks.
Thank you @pajama-coder. I verified the latest commit and its fixed. So closing this issue.
Pipy version
Using the latest commit
Bug Report
onEnd
is not working.onEnd
doesn't generate any error/warningProblem 1
For example trying to access any valid variable doesn't yield any outcome.
Won't print anything, but logging any string literal works.
Problem 2
For example trying to access any invalid or non-existing variable doesn't yield any error/warning.
No error/warning is generated.