whitefang hace 1 año
padre
commit
9ce80a1b6d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/common/command/AddAgreementPdf.php

+ 1 - 1
app/common/command/AddAgreementPdf.php

@@ -70,7 +70,7 @@ class AddAgreementPdf extends Command
             $agreement->save();
         } else {
             // 处理错误
-            Log::write($return_var);
+            echo "Command failed with return code: $return_var";
         }
     }