shithub: hell

Download patch

ref: fd05c4d03acab4d10384ef5dad011dc685ffcc1d
parent: 906489cfcc61b985c2300936ea22ec5fedc2f013
author: penny <penny@limitedideas.org>
date: Sat Oct 4 19:02:06 EDT 2025

print mastodon stream errors

--- a/mastodon.go
+++ b/mastodon.go
@@ -376,6 +376,8 @@
 					hc.PrintReceivedNotification(post.Notification)
 				}
 				justIncrementPostref(hc.homeref, post.Notification.Status)
+			case *mastodon.ErrorEvent:
+				fmt.Printf("Timeline error: %s\n", post)
 			default:
 				// Catch any other unexpected event types.
 				unhandledEvent := event
--