Error handling in Erlang | Hacker News Reader