Closed 152334H closed 1 year ago
That's not an issue in this library, useWhisper swallows errors like TypeError: Cannot read properties of undefined (reading 'RecordRTCPromisesHandler')
.
The compiled code dist/chunk-32KRFHOA contains try catch
blocks where instead of logging the error it does nothing.
The catch (err) { console.log(err) }
from src/useWhisper.ts
is compiled to catch {}
this is due to their tsup configuration:
esbuildOptions: (options) => {
options.drop = env === 'production' ? ['console', 'debugger'] : undefined
},
Thanks for the help!
not really sure if you should investigate this, but this project does not seem to work with https://github.com/chengsokdara/use-whisper, e.g.
the setcount button will work, but the startrecording button does not appear to start any recording
sorry i don't have an immediate separable PoC available