Fixes #43: added exception logging and updated error creation to include exception message