Преглед на файлове

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>");
                 }
             }