modify logging message
This commit is contained in:
parent
769eabd9e4
commit
f35c2e499c
@ -29,8 +29,6 @@ namespace BinaryDad.Notes
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
logger.LogInformation($"Saving note \"{noteName}\"");
|
|
||||||
|
|
||||||
noteService.SaveNote(content, noteName);
|
noteService.SaveNote(content, noteName);
|
||||||
|
|
||||||
// find all other connections except for the current one
|
// find all other connections except for the current one
|
||||||
@ -44,7 +42,7 @@ namespace BinaryDad.Notes
|
|||||||
.Clients(clientConnections)
|
.Clients(clientConnections)
|
||||||
.SendAsync("updateNote", content);
|
.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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user