Skip to content

Commit 1565ebd

Browse files
committed
Updated the ExceptionlessClient docs.
1 parent 4fd15f9 commit 1565ebd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Source/Shared/ExceptionlessClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public ExceptionlessClient(ExceptionlessConfiguration configuration) {
5151
/// <param name="referenceId">The reference id of the event to update.</param>
5252
/// <param name="email">The user's email address to set on the event.</param>
5353
/// <param name="description">The user's description of the event.</param>
54-
/// <returns></returns>
5554
public bool UpdateUserEmailAndDescription(string referenceId, string email, string description) {
5655
if (String.IsNullOrEmpty(referenceId))
5756
throw new ArgumentNullException("referenceId");
@@ -75,7 +74,7 @@ public bool UpdateUserEmailAndDescription(string referenceId, string email, stri
7574
try {
7675
var response = _submissionClient.Value.PostUserDescription(referenceId, new UserDescription(email, description), Configuration, Configuration.Resolver.GetJsonSerializer());
7776
if (!response.Success)
78-
_log.Value.FormattedError(typeof(ExceptionlessClient), "Failed to submit user email and description for event: {0} {1}", response.StatusCode, response.Message);
77+
_log.Value.FormattedError(typeof(ExceptionlessClient), "Failed to submit user email and description for event '{0}': {1} {2}", referenceId, response.StatusCode, response.Message);
7978

8079
return response.Success;
8180
} catch (Exception ex) {
@@ -175,7 +174,7 @@ public EventBuilder CreateEvent(ContextData pluginContextData = null) {
175174
/// <summary>
176175
/// Gets the last event client id that was submitted to the server.
177176
/// </summary>
178-
/// <returns>The event client id</returns>
177+
/// <returns>The event client id.</returns>
179178
public string GetLastReferenceId() {
180179
return _lastReferenceIdManager.Value.GetLast();
181180
}

0 commit comments

Comments
 (0)