public
Created

  • Download Gist
gistfile1.cs
C#
1 2 3 4 5 6 7 8 9 10
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;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.