浏览代码

get:source command updated

Guillermo Espinoza 6 年之前
父节点
当前提交
e5bed3e015
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      tools/src/GetSource.php

+ 1 - 3
tools/src/GetSource.php

@@ -86,9 +86,7 @@ class GetSource extends Command
                         $git->merge("origin/" . $conf["branch"]);
                     }
                 } catch (GitException $e) {
-                    $output->writeln($e->getTraceAsString());
-
-                    die;
+                    $output->writeln("<error>" . $e->getMessage() . "</error>");
                 }
             }