mod: print the exception message before raising it