add more readable hint
This commit is contained in:
parent
fa98442a7b
commit
d294549761
@ -206,7 +206,7 @@ func (t *TransGlobal) execBranch(db *common.DB, branch *TransBranch) {
|
||||
t.touch(db, config.TransCronInterval)
|
||||
branch.changeStatus(db, "failed")
|
||||
} else {
|
||||
panic(fmt.Errorf("unknown response: %s, will be retried", body))
|
||||
panic(fmt.Errorf("http result should contains SUCCESS|FAILURE. grpc error should return nil|Aborted.\nunkown result will be retried: %s", body))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user