printing out exception as e