diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-06-13 12:50:35 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-06-13 12:54:54 -0600 |
commit | 48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24 (patch) | |
tree | 2b398887b1e0259362368e0b64af874909fb0dcc /src/client.cpp | |
parent | 66fa5b45e5b9d8ed1838f2ea336771cc1839cf92 (diff) | |
download | mana-48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24.tar.gz mana-48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24.tar.bz2 mana-48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24.tar.xz mana-48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24.zip |
Handle char-server login errors better
Also fix a small compilation error sometimes reported.
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 85f0d60a..4b6d3744 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -955,6 +955,7 @@ int Client::exec() case STATE_ERROR: logger->log("State: ERROR"); + logger->log("Error: %s\n", errorMessage.c_str()); mCurrentDialog = new OkDialog(_("Error"), errorMessage); mCurrentDialog->addActionListener(&errorListener); mCurrentDialog = NULL; // OkDialog deletes itself |