Skip to content

Replace hard coded error messages #3416

Merged
estesp merged 4 commits intocontainerd:masterfrom
crosbymichael:hard-code-err
Jul 15, 2019
Merged

Replace hard coded error messages #3416
estesp merged 4 commits intocontainerd:masterfrom
crosbymichael:hard-code-err

Conversation

@crosbymichael
Copy link
Copy Markdown
Member

Carry of #3409

Closes #3349

fahedouch and others added 4 commits July 13, 2019 15:07
@crosbymichael
Copy link
Copy Markdown
Member Author

@fahedouch I carried your commits and updated the feedback left on the PR to move the specific errors into their packages.

Thanks for the initial commits and they are still in this PR.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 15, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #3416 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3416   +/-   ##
=======================================
  Coverage   45.05%   45.05%           
=======================================
  Files         113      113           
  Lines       12563    12563           
=======================================
  Hits         5660     5660           
  Misses       6049     6049           
  Partials      854      854
Flag Coverage Δ
#linux 48.98% <ø> (ø) ⬆️
#windows 40.27% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d03fc6...61d930a. Read the comment docs.

@fahedouch
Copy link
Copy Markdown
Member

Nice job @crosbymichael I'll do the same for the rest of the packages

Copy link
Copy Markdown
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit d6be45e into containerd:master Jul 15, 2019
@stevvooe
Copy link
Copy Markdown
Member

I don't see how this addresses the feedback. These error messages appear in a single place. It makes it way hard to debug when bad things happen.

@crosbymichael crosbymichael deleted the hard-code-err branch July 16, 2019 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

centralize harded-code message

6 participants