From 609a9a0b64c9d8723b9cacaec97b512d0e07e49d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 4 Jun 2016 08:57:50 +0200 Subject: better error message --- server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.rb') 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 -- cgit v1.2.3