Skip to content

Commit 71b9e4a

Browse files
committed
Fix log info class name issue
1 parent da8a690 commit 71b9e4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,15 +393,15 @@ private Result CreateAddToIndexSearchExclusionListResult(SearchResult record)
393393
{
394394
Title = Context.API.GetTranslation("plugin_explorer_excludefromindexsearch"),
395395
SubTitle = Context.API.GetTranslation("plugin_explorer_path") + " " + record.FullPath,
396-
Action = _ =>
396+
Action = c_ =>
397397
{
398398
if (!Settings.IndexSearchExcludedSubdirectoryPaths.Any(x => string.Equals(x.Path, record.FullPath, StringComparison.OrdinalIgnoreCase)))
399399
Settings.IndexSearchExcludedSubdirectoryPaths.Add(new AccessLink
400400
{
401401
Path = record.FullPath
402402
});
403403

404-
Task.Run(() =>
404+
_ = Task.Run(() =>
405405
{
406406
Context.API.ShowMsg(Context.API.GetTranslation("plugin_explorer_excludedfromindexsearch_msg"),
407407
Context.API.GetTranslation("plugin_explorer_path") +
@@ -469,7 +469,7 @@ private Result CreateOpenWithMenu(SearchResult record)
469469

470470
private void LogException(string message, Exception e)
471471
{
472-
Context.API.LogException(nameof(Main), message, e);
472+
Context.API.LogException(nameof(ContextMenu), message, e);
473473
}
474474

475475
private static bool CanRunAsDifferentUser(string path)

0 commit comments

Comments
 (0)