-
try{
await StreamReport.start({
configuration: meta.configuration,
stdout: this.context.stdout,
}, ()=> {
throw new Error('error'); // emit error;
})
}catch {
// but no hit;
} I would like to catch error inside Report.start callback. |
Beta Was this translation helpful? Give feedback.
Answered by
jiwon-mun
Feb 12, 2023
Replies: 1 comment
-
After looking at other repositories, I found a way.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jiwon-mun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After looking at other repositories, I found a way.