Create a gist now

Instantly share code, notes, and snippets.

public override string Log(Error error)
{
var entity = new ErrorEntity(error);
var context = CloudStorageAccount.Parse(connectionString).CreateCloudTableClient().GetDataServiceContext();
entity.BlobId = SerializeErrorToBlob(entity);
context.AddObject("elmaherrors", entity);
context.SaveChangesWithRetries();
return entity.RowKey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment