Skip to content

Commit 48f4b20

Browse files
committed
fix: Increase tweet logging
1 parent 5326f46 commit 48f4b20

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Journal-Limpet/Jobs/TweetStatSender.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class TweetStatSender
1515
{
1616
public static async Task SendStatsTweetAsync(PerformContext context)
1717
{
18-
context.WriteLine("Looking for tokens to refresh!");
18+
context.WriteLine("Trying to send stats Tweet!");
1919
using (var scope = Startup.ServiceProvider.CreateScope())
2020
{
2121
IConfiguration configuration = scope.ServiceProvider.GetRequiredService<IConfiguration>();
@@ -81,7 +81,13 @@ public static async Task SendStatsTweetAsync(PerformContext context)
8181
sb.AppendLine($"{SharedSettings.NumberFixer(mod.TotalUserJournalLines)} lines of journal");
8282
}
8383

84-
var res = await tweetSender.SendAsync(sb.ToString());
84+
var message = sb.ToString();
85+
86+
context.WriteLine(message);
87+
88+
var res = await tweetSender.SendAsync(message);
89+
90+
context.WriteLine(res.response);
8591

8692
if (!res.status)
8793
{

0 commit comments

Comments
 (0)