halt when quota is exceeded

This commit is contained in:
Niko Storni 2019-12-27 04:15:48 +01:00
parent c28d5a716b
commit ac95ca57af

View file

@ -219,6 +219,7 @@ func (s *SyncManager) Start() error {
"the channel in the wallet is different than the channel in the database", "the channel in the wallet is different than the channel in the database",
"this channel does not belong to this wallet!", "this channel does not belong to this wallet!",
"You already have a stream claim published under the name", "You already have a stream claim published under the name",
"Daily Limit Exceeded",
} }
if util.SubstringInSlice(err.Error(), fatalErrors) { if util.SubstringInSlice(err.Error(), fatalErrors) {
return errors.Prefix("@Nikooo777 this requires manual intervention! Exiting...", err) return errors.Prefix("@Nikooo777 this requires manual intervention! Exiting...", err)