File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ func (u *PayoutsProcessor) Start() {
6666 log .Println ("Running with env RESOLVE_PAYOUT=1, now trying to resolve locked payouts" )
6767 u .resolvePayouts ()
6868 log .Println ("Now you have to restart payouts module with RESOLVE_PAYOUT=0 for normal run" )
69+ os .Exit (1 )
6970 return
7071 }
7172
@@ -77,6 +78,7 @@ func (u *PayoutsProcessor) Start() {
7778 if len (payments ) > 0 {
7879 log .Printf ("Previous payout failed, you have to resolve it. List of failed payments:\n %v" ,
7980 formatPendingPayments (payments ))
81+ os .Exit (1 )
8082 return
8183 }
8284
@@ -88,6 +90,7 @@ func (u *PayoutsProcessor) Start() {
8890 }
8991 if locked {
9092 log .Println ("Unable to start payouts because they are locked" )
93+ os .Exit (1 )
9194 return
9295 }
9396
You can’t perform that action at this time.
0 commit comments