Include extra error information on timeout

This commit is contained in:
Chris Roberts 2019-09-09 20:30:06 -07:00
parent 0d9ad25d69
commit 1651269333
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ func handleGrpcError(err error, pluginCtx context.Context, reqCtx context.Contex
default:
}
case <-time.After(5):
return errors.New("exceeded context timeout")
return errors.New("exceeded context check timeout - " + err.Error())
}
return err
} else if s != nil && s.Message() != "" {