Using incorrect variable in conversion error message

The conversion error is not reporting the correct message because it is using the wrong desired_format variable instead of from_format.