Changes to exception text to detect if there is an error.