File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func (aggregateError *AggregateError) Error() string {
2626 aggregateError .mux .RLock ()
2727 defer aggregateError .mux .RUnlock ()
2828
29- msg := fmt .Sprintf ("Multiple errors occured: %d \n " , len (aggregateError .Errors ))
29+ msg := fmt .Sprintf ("%d error(s) occurred: \n " , len (aggregateError .Errors ))
3030
3131 for i , err := range aggregateError .Errors {
3232 msg += fmt .Sprintf ("%d) %s\n " , i + 1 , err .Error ())
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func (networkRetryDecorator *NetworkRetryDecorator) Invoke(httpRequest *http.Req
4343
4444 // We had as many network related retries as we're allowed to use.
4545 return nil , errors .New (fmt .Sprintf (
46- "Cannot send request. Retried the max number of %d times. Error: `%s`." ,
46+ "Cannot send request. Retried the network connection the maximum number of %d times. Error: `%s`." ,
4747 networkRetryDecorator .policy .maxRetries ,
4848 lastErr .Error (),
4949 ))
You can’t perform that action at this time.
0 commit comments