Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutputEngine: Modernize error handling #828

Merged
merged 3 commits into from Jul 23, 2020
Merged

Conversation

Niraj-Kamdar
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jul 18, 2020

Codecov Report

Merging #828 into master will increase coverage by 0.03%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #828      +/-   ##
==========================================
+ Coverage   83.21%   83.25%   +0.03%     
==========================================
  Files         152      152              
  Lines        2550     2550              
  Branches      279      280       +1     
==========================================
+ Hits         2122     2123       +1     
+ Misses        359      358       -1     
  Partials       69       69              
Flag Coverage Δ
#longtests 83.25% <75.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cve_bin_tool/output_engine/__init__.py 94.91% <75.00%> (-1.70%) ⬇️
cve_bin_tool/error_handler.py 85.71% <0.00%> (+4.08%) ⬆️

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 8221772...f2b5dd5. Read the comment docs.

Comment on lines +115 to +116
f"An exception occurred while writing to the file {self.filename} "
"Switching Back to Default Naming Convention"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be a single string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is.
evaluate this expression: print("hello " "world") you will know.

@terriko
Copy link
Contributor

terriko commented Jul 23, 2020

Looks good, thanks!

@terriko terriko merged commit 9c18e41 into intel:master Jul 23, 2020
@Niraj-Kamdar Niraj-Kamdar deleted the error1 branch July 23, 2020 20:14
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.

None yet

4 participants