More Logging

This commit is contained in:
2023-08-27 01:22:08 +02:00
parent bbd716383a
commit 2fcab1f1b1
6 changed files with 15 additions and 10 deletions

View File

@ -33,7 +33,7 @@ public class Gotify : NotificationConnector
if (!response.IsSuccessStatusCode)
{
StreamReader sr = new (response.Content.ReadAsStream());
logger?.WriteLine(this.GetType().ToString(), $"{response.StatusCode}: {sr.ReadToEnd()}");
Log($"{response.StatusCode}: {sr.ReadToEnd()}");
}
}