for #19 to catch the raised exception and not the module name.