modify logging message

This commit is contained in:
Ryan Peters 2024-12-16 16:24:27 -05:00
parent 769eabd9e4
commit f35c2e499c

View File

@ -29,8 +29,6 @@ namespace BinaryDad.Notes
{
try
{
logger.LogInformation($"Saving note \"{noteName}\"");
noteService.SaveNote(content, noteName);
// find all other connections except for the current one
@ -44,7 +42,7 @@ namespace BinaryDad.Notes
.Clients(clientConnections)
.SendAsync("updateNote", content);
logger.LogInformation($"NOTE \"{noteName}\" SAVED! Updated {clientConnections.Count} other client(s).");
logger.LogInformation($"Note \"{noteName}\" saved! Updated {clientConnections.Count} other client(s).");
}
catch (Exception ex)
{