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

Make determining type of error more robust #93

Merged
merged 3 commits into from
Apr 14, 2023

Conversation

mmiller-max
Copy link
Member

Closes #87

@mmiller-max mmiller-max requested a review from oxinabox April 13, 2023 21:04
@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

Merging #93 (918848a) into master (8ba6874) will decrease coverage by 0.12%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
- Coverage   96.24%   96.13%   -0.12%     
==========================================
  Files           7        7              
  Lines         533      543      +10     
==========================================
+ Hits          513      522       +9     
- Misses         20       21       +1     
Impacted Files Coverage Δ
src/to_xml.jl 98.66% <92.85%> (-0.62%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

function parse_error_msg(err_string)
local err
try
err = eval(Meta.parse(err_string))
Copy link
Member

Choose a reason for hiding this comment

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

I sure do hate this.
But we don't have a choice since they started stringifying everything.
(Nothing actionable here)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea it doesn't feel super nice

@mmiller-max mmiller-max merged commit ebb9d13 into master Apr 14, 2023
@mmiller-max mmiller-max deleted the mm/fix-errors-when-parsing-errors branch April 18, 2023 05:57
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.

XML writer incorrectly assumes that error types can be parsed
2 participants