Error exposes information about your system
aLemonFox opened this issue · 1 comments
aLemonFox commented
When opening a file that doesn't exist on disk, an error is thrown. This error exposes information about your system. Not sure if this is intended or a side-effect of some logging. I'm not sure which other erros also expose related information. Perhaps good to look into / be aware of.
E.g:
const file = new h5wasm.File("nonexistent.h5", "r");
#000: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5F.c line 620 in H5Fopen(): unable to open file
// My name is not Brian, but yours is :)
bmaranville commented
Eventually I will figure out how to build this efficiently using GH actions, but that just moves the problem around... instead leaking information about that build environment instead of mine.