mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 03:40:14 +02:00
Report git errors
This commit is contained in:
@ -119,9 +119,13 @@ fixPermissions() {
|
||||
|
||||
source lib/monitoring.sh
|
||||
|
||||
fail_and_report() {
|
||||
report_error() {
|
||||
log ERROR "$2"
|
||||
hc_send $1 "$2"
|
||||
}
|
||||
|
||||
fail_and_report() {
|
||||
report_error $@
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user