Fixes eval output so that it supports exceptions.