When running Infomap build with Emscripten, if an exception is thrown, the program will exit with "exception thrown: [pointer address]".
This is because Infomap is built with DISABLE_EXCEPTION_CATCHING=1, for performance reasons.
See Optimizing Code and Emscripten settings.js.