Tuesday, September 8, 2015

Exception Handling



throw new Exception("HttpHeler.Post to Marketo failed");

Not sure but I had to throw the exception again after logging

catch (Exception ex)
            {
                Log.Error("Error in Execute - MarketoSaveAction", ex, typeof(MarketoSaveAction));
                throw ex;
            }

No comments:

Post a Comment