commit 4aef913d127b67954d69ede42f1259075312e6c3 parent f6cc5c4afc1b777645b7aefb7ebc598ae6b8de37 Author: Oliver Lowe <o@olowe.co> Date: Mon, 10 Nov 2025 10:23:04 +1100 hnatom: exit with error if no links fetched Diffstat:
| M | src/hnatom/hnatom.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hnatom/hnatom.go b/src/hnatom/hnatom.go @@ -92,7 +92,7 @@ func init() { func main() { top, err := Top() if err != nil { - log.Println("get top items:", err) + log.Fatal("get top items:", err) } feed := &atom.Feed{