manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1507871 - /manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs
Date Sun, 28 Jul 2013 23:26:36 GMT
Author: kwright
Date: Sun Jul 28 23:26:36 2013
New Revision: 1507871

URL: http://svn.apache.org/r1507871
Log:
Exception trace should be logged as well.

Modified:
    manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs

Modified: manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs?rev=1507871&r1=1507870&r2=1507871&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs
(original)
+++ manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-758/webservice/MCPermissions.cs
Sun Jul 28 23:26:36 2013
@@ -79,7 +79,7 @@ namespace MetaCarta.SharePoint.SoapServe
             }
             catch (Exception ex)
             {
-                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Medium, EventSeverity.Error), TraceSeverity.Medium, "Error: "+ex.Message+";
SPContext.Current.Web.Url='"+SPContext.Current.Web.Url+"'");
+                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, "Error: "+ex.Message+";
SPContext.Current.Web.Url='"+SPContext.Current.Web.Url+"'", ex.StackTrace());
                 throw RaiseException(ex.Message, "1000", ex.Source);
             }
 
@@ -156,7 +156,7 @@ namespace MetaCarta.SharePoint.SoapServe
             }
             catch (Exception ex)
             {
-                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Medium, EventSeverity.Error), TraceSeverity.Medium, "Error: "+ex.Message);
+                SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("MCPermissions.asmx",
TraceSeverity.Unexpected, EventSeverity.Error), TraceSeverity.Unexpected, "Error: "+ex.Message,
ex.StackTrace());
                 throw RaiseException(ex.Message, "1010", ex.Source);
             }
 



Mime
View raw message