h5wasm icon indicating copy to clipboard operation
h5wasm copied to clipboard

Error exposes information about your system

Open aLemonFox opened this issue 2 years ago • 1 comments

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 :)

aLemonFox avatar Sep 27 '22 19:09 aLemonFox

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.

bmaranville avatar Dec 21 '22 15:12 bmaranville