summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-06-13 12:50:35 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-13 12:54:54 -0600
commit48fd3efab457b3ae35ca0a7df0f3d1ce59e54e24 (patch)
tree2b398887b1e0259362368e0b64af874909fb0dcc /src/client.cpp
parent66fa5b45e5b9d8ed1838f2ea336771cc1839cf92 (diff)
downloadMana-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.cpp1
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