diff --git a/src/Plivo/Resource/ResourceInterface.cs b/src/Plivo/Resource/ResourceInterface.cs index 1f32aa8a..c2c87ff9 100755 --- a/src/Plivo/Resource/ResourceInterface.cs +++ b/src/Plivo/Resource/ResourceInterface.cs @@ -256,7 +256,7 @@ public static T ExecuteWithExceptionUnwrap (Func func) where T : class { } catch (AggregateException ex) { ex.Flatten (); if (ex.InnerExceptions[0] is Newtonsoft.Json.JsonReaderException){ - throw new PlivoValidationException ("Unexpected error occured. Please contact plivo support"); + throw new PlivoValidationException ("Unexpected error occured. Please contact plivo support. Exception is"+ ex.ToString()); } throw ex.InnerExceptions[0];