Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private async Task ConnectWebSocketAsync(IBot bot, HttpRequestMessage httpReques
catch (Exception ex)
{
httpResponse.StatusCode = HttpStatusCode.InternalServerError;
httpResponse.Content = new StringContent($"Unable to create transport server. Error: {ex}");
httpResponse.Content = new StringContent($"Unable to create transport server. Error: {ex.Message}");
throw;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public void ActivityWithAttachmentsTest(bool useLegacyClient, bool useLegacyServ
}
catch (Exception e)
{
return Task.FromResult(StreamingResponse.InternalServerError(new StringContent(e.ToString())));
return Task.FromResult(StreamingResponse.InternalServerError(new StringContent(e.Message)));
}
});

Expand Down Expand Up @@ -372,7 +372,7 @@ public void ConcurrencyTest(int connectionCount, int messageCount, int threadCou
}
catch (Exception e)
{
return Task.FromResult(StreamingResponse.InternalServerError(new StringContent(e.ToString())));
return Task.FromResult(StreamingResponse.InternalServerError(new StringContent(e.Message)));
}
});

Expand Down