Sfoglia il codice sorgente

+ вывод в лог параметров при ошибке

Yuriy Zhilovets 7 anni fa
parent
commit
87de8cb13c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      telegram.pl

+ 1 - 1
telegram.pl

@@ -266,7 +266,7 @@ sub notify
   
   return request("sendMessage", $params)->catch(sub
   {
-    $log->error(Dumper @_);
+    $log->error($params, Dumper @_);
   });
 }