From ae31f41f5ef758d0a0ba386d6f10a4f011043344 Mon Sep 17 00:00:00 2001
From: goaaats <16760685+goaaats@users.noreply.github.com>
Date: Sat, 15 Jan 2022 03:05:06 +0100
Subject: [PATCH] refactor: fix warnings in troubleshooting
---
Dalamud/Support/BugBait.cs | 1 +
Dalamud/Support/Troubleshooting.cs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dalamud/Support/BugBait.cs b/Dalamud/Support/BugBait.cs
index eda2e4f78..2de4ee7e5 100644
--- a/Dalamud/Support/BugBait.cs
+++ b/Dalamud/Support/BugBait.cs
@@ -19,6 +19,7 @@ namespace Dalamud.Support
/// Send feedback to Discord.
///
/// The plugin to send feedback about.
+ /// Whether or not the plugin is a testing plugin.
/// The content of the feedback.
/// The reporter name.
/// Whether or not the most recent exception to occur should be included in the report.
diff --git a/Dalamud/Support/Troubleshooting.cs b/Dalamud/Support/Troubleshooting.cs
index 85927156d..8fa014b1f 100644
--- a/Dalamud/Support/Troubleshooting.cs
+++ b/Dalamud/Support/Troubleshooting.cs
@@ -33,7 +33,7 @@ namespace Dalamud.Support
{
LastException = exception;
- var fixedContext = context?.Split(new []{'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();
+ var fixedContext = context?.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault();
try
{