mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 11:06:43 +08:00
Error not handled
This commit is contained in:
parent
37947623e3
commit
54f13e74ff
@ -117,7 +117,7 @@ func main() {
|
|||||||
if strings.Contains(errs.Unwrap(err).Error(), "connection refused") ||
|
if strings.Contains(errs.Unwrap(err).Error(), "connection refused") ||
|
||||||
strings.Contains(errs.Unwrap(err).Error(), "timeout") ||
|
strings.Contains(errs.Unwrap(err).Error(), "timeout") ||
|
||||||
strings.Contains(errs.Unwrap(err).Error(), "context deadline exceeded") {
|
strings.Contains(errs.Unwrap(err).Error(), "context deadline exceeded") {
|
||||||
component.ErrorPrint("try check connection")
|
component.ErrorPrint(fmt.Sprintf("try check connection %s", check.name))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user