Fix exception while constructing proxy status error.

Exception while construction the error string means we never throw into the
future, so the process hangs forever.