OSDN Git Service

show backtrace in case of exception, as suggested by yoshiki
authortkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sat, 10 May 2008 14:02:18 +0000 (14:02 +0000)
committertkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sat, 10 May 2008 14:02:18 +0000 (14:02 +0000)
shogi-server

index b397417..1f98f58 100755 (executable)
@@ -82,7 +82,7 @@ class League
             charge
           rescue Exception => ex 
             # ignore errors
-            log_error("[in Floodgate's thread] #{ex}")
+            log_error("[in Floodgate's thread] #{ex} #{ex.backtrace}")
           end
         end
       end