import System.FilePath ( (</>) )
import System.IO.Error (catchIOError)
-import Terminal (report_error)
+import Logging (log_error)
import TSN.FeedHosts (FeedHosts(..))
-- not serve much purpose. It could also be a security risk (visible
-- password) if the admin screws up.
home <- catchIOError getHomeDirectory (\e -> do
- report_error (show e)
+ log_error (show e)
return "$(HOME)")
let user_config_path = home </> ".htsnrc"
cfg <- DC.load [ DC.Optional user_config_path ]