cred: isolate scripts in WASI and move RSA signing to AWS-LC
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/*---
|
||||
flags: [qjs:track-promise-rejections]
|
||||
---*/
|
||||
|
||||
const promise = Promise.reject('reject')
|
||||
const error = await Promise.resolve().then(() => promise).catch(e => e)
|
||||
print('Got this error:', error)
|
||||
Reference in New Issue
Block a user