summaryrefslogtreecommitdiff
path: root/lib/nickserver
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nickserver')
-rw-r--r--lib/nickserver/server.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/nickserver/server.rb b/lib/nickserver/server.rb
index 61d0b11..9487b43 100644
--- a/lib/nickserver/server.rb
+++ b/lib/nickserver/server.rb
@@ -43,6 +43,8 @@ module Nickserver
send_key(uid)
end
rescue RuntimeError => exc
+ puts "Error: #{exc}"
+ puts exc.backtrace
send_error(exc.to_s)
end
@@ -129,4 +131,4 @@ module Nickserver
return false
end
end
-end \ No newline at end of file
+end