Replaced e.message with str(e)