mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
refactor: fix warnings in troubleshooting
This commit is contained in:
parent
f7432570fe
commit
ae31f41f5e
2 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ namespace Dalamud.Support
|
|||
/// 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="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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue