soitgoes/LoveSeat — Issue #20: NullReferenceException on conection loss
Author: deadok22
Created: 2011-12-13 11:41:06+00:00
State: open

LoveSeat.Support.CouchRequest.GetResponse() returns null on connection interruption.

The way to handle this is at least to add a check response for null at LoveSeat.CouchDatabase.AddAttachment and throw some exception just to make user able to handle this situation. That is where I faced the issue, actually, I guess it's the way all requests should be processed. Or may be we need to try to reestablish connection.