mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 22:07:44 +01:00
Un-whether-or-not the codebase
This commit is contained in:
parent
f4102db488
commit
731d7e0f6e
59 changed files with 249 additions and 249 deletions
|
|
@ -20,10 +20,10 @@ internal static class BugBait
|
|||
/// Send feedback to Discord.
|
||||
/// </summary>
|
||||
/// <param name="plugin">The plugin to send feedback about.</param>
|
||||
/// <param name="isTesting">Whether or not the plugin is a testing plugin.</param>
|
||||
/// <param name="isTesting">Whether the plugin is a testing plugin.</param>
|
||||
/// <param name="content">The content of the feedback.</param>
|
||||
/// <param name="reporter">The reporter name.</param>
|
||||
/// <param name="includeException">Whether or not the most recent exception to occur should be included in the report.</param>
|
||||
/// <param name="includeException">Whether the most recent exception to occur should be included in the report.</param>
|
||||
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
||||
public static async Task SendFeedback(IPluginManifest plugin, bool isTesting, string content, string reporter, bool includeException)
|
||||
{
|
||||
|
|
@ -43,7 +43,7 @@ internal static class BugBait
|
|||
{
|
||||
model.Exception = Troubleshooting.LastException == null ? "Was included, but none happened" : Troubleshooting.LastException?.ToString();
|
||||
}
|
||||
|
||||
|
||||
var httpClient = Service<HappyHttpClient>.Get().SharedHttpClient;
|
||||
|
||||
var postContent = new StringContent(JsonConvert.SerializeObject(model), Encoding.UTF8, "application/json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue