If the value isn't "true", you may want to read the next line and log it. It will describe the exception.