git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace echo with Log:: calls
[shpub.git]
/
src
/
shpub
/
Cli.php
diff --git
a/src/shpub/Cli.php
b/src/shpub/Cli.php
index 12eeaedecfdfb1c63b4e8caebee5ae492314de2d..30c2d1fd9f5be8c4b0b08d52e0bfb00991ad3e03 100644
(file)
--- a/
src/shpub/Cli.php
+++ b/
src/shpub/Cli.php
@@
-41,7
+41,7
@@
class Cli
break;
}
} catch (\Exception $e) {
-
echo 'Error: ' . $e->getMessage() . "\n"
;
+
Log::err('Error: ' . $e->getMessage())
;
exit(1);
}
}