File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class TweetStatSender
15
15
{
16
16
public static async Task SendStatsTweetAsync ( PerformContext context )
17
17
{
18
- context . WriteLine ( "Looking for tokens to refresh !" ) ;
18
+ context . WriteLine ( "Trying to send stats Tweet !" ) ;
19
19
using ( var scope = Startup . ServiceProvider . CreateScope ( ) )
20
20
{
21
21
IConfiguration configuration = scope . ServiceProvider . GetRequiredService < IConfiguration > ( ) ;
@@ -81,7 +81,13 @@ public static async Task SendStatsTweetAsync(PerformContext context)
81
81
sb . AppendLine ( $ "{ SharedSettings . NumberFixer ( mod . TotalUserJournalLines ) } lines of journal") ;
82
82
}
83
83
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 ) ;
85
91
86
92
if ( ! res . status )
87
93
{
You can’t perform that action at this time.
0 commit comments