Ver código fonte

Update Worker.php

walkor 7 anos atrás
pai
commit
744e1bb381
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -504,7 +504,7 @@ class Worker
     protected static function init()
     {
         set_error_handler(function($code, $msg, $file, $line){
-            echo "$msg in file $file on line $line\n";
+            Worker::safeEcho("$msg in file $file on line $line\n");
         });
 
         // Start file.