Yuriy Zhilovets 7 жил өмнө
parent
commit
cccc27856e
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      telegram.pl

+ 3 - 3
telegram.pl

@@ -121,7 +121,7 @@ sub incoming_message
 
   if ($@)
   {
-    $log->error($@);
+    $log->error(Dumper $@);
     $rabbit->reject($m);
   }
   else
@@ -215,7 +215,7 @@ sub terminate
     exit(0);
   })->catch(sub
   {
-    $log->error(@_);
+    $log->error(Dumper @_);
   });
 }
 
@@ -266,7 +266,7 @@ sub notify
   
   return request("sendMessage", $params)->catch(sub
   {
-    $log->error(@_);
+    $log->error(Dumper @_);
   });
 }