Noeda / dfterm3

Remote Dwarf Fortress playing
ISC License
45 stars 2 forks source link

Improved diagnostics #17

Closed Noeda closed 10 years ago

Noeda commented 10 years ago

We should tag logging messages in such a way that we can tell from which part of Dfterm3 error message comes from.

In issue #15 we have this error message:

HTTP request failed with: Network.Socket.ByteString.recv: failed (no error)

I cannot be certain where this error message comes from but if, for example, it came from the HTTP server (there are at least two of them running most of the time) we could tag it like this:

[playing-interface] HTTP request failed with: Network.Socket.ByteString.recv: failed (no error)
Noeda commented 10 years ago

That was easier than I expected.