Skip to content

Commit

Permalink
Log warning when active document cannot be monitored
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jul 16, 2024
1 parent ab69a56 commit b326480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SmallSharp/MonitorActiveDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public override bool Execute()
}

Debug.Fail("Failed to get IServiceProvider to monitor for active document.");
Log.LogWarning("Failed to get IServiceProvider to monitor for active document.");
}
else
{
Expand Down

0 comments on commit b326480

Please sign in to comment.