when connection error does not have an error message, at least print its type

darcs-hash:20081128111110-b2873-d84aeedfa7e6e18e8237f6015002e9b00dd797f3