summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-04 08:57:50 +0200
committerPatrick Simianer <p@simianer.de>2016-06-04 08:57:50 +0200
commit609a9a0b64c9d8723b9cacaec97b512d0e07e49d (patch)
treeb3fca18582eded8386c435d15a2c7c582ba54cf2
parentbb5cd677c28f5ceaf40e61c8313b07c173871bd1 (diff)
better error message
-rwxr-xr-xserver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.rb b/server.rb
index 193baf6..e6bf258 100755
--- a/server.rb
+++ b/server.rb
@@ -180,7 +180,7 @@ def process_next reply
end
$lock = true # lock
if data['key'] != SESSION_KEY
- $status = "Error: Key mismatch"
+ $status = "Error: Key mismatch (#{data['key']}, #{SESSION_KEY})"
return
end
if data["OOV"] # OOV corrections