Exceptions will be thrown under NodeJS **14.15.0.** The object returned by `fs.promises.open` contains the Symbol. Cannot convert a Symbol value to a string ``` fs.promises.open('xxx/index.js', 'r').then((fh) => { fh.close(); _fh = Object.getPrototypeOf(fh); console.log(Reflect.ownKeys(_fh)); }); ``` ``` [ 'constructor', 'getAsyncId', 'fd', 'appendFile', 'chmod', 'chown', 'datasync', 'sync', 'read', 'readv', 'readFile', 'stat', 'truncate', 'utimes', 'write', 'writev', 'writeFile', Symbol(messaging_transfer_symbol), Symbol(messaging_transfer_list_symbol), Symbol(messaging_deserialize_symbol) ] ``` https://github.com/lightstep/ls-trace-js/blob/578fdface95718531d340212bcdbef5d9f85aed4/packages/datadog-plugin-fs/src/index.js#L381 **Environment** * **Operation system:** * **Node version:** 14.15.0 * **Tracer version:** * **Agent version:**
Exceptions will be thrown under NodeJS 14.15.0.
The object returned by
fs.promises.opencontains the Symbol. Cannot convert a Symbol value to a stringls-trace-js/packages/datadog-plugin-fs/src/index.js
Line 381 in 578fdfa
Environment