Skip to content

Fix #6540: Added Exception handling in metadata_rest - #6650

Merged
ulixius9 merged 2 commits into
open-metadata:mainfrom
ulixius9:issue-6540
Aug 8, 2022
Merged

ulixius9 merged 2 commits into
open-metadata:mainfrom
ulixius9:issue-6540

Conversation

@ulixius9

@ulixius9 ulixius9 commented Aug 8, 2022

Copy link
Copy Markdown
Member

Describe your changes :

Fix #6540: Added Exception handling in metadata_rest

Type of change :

  • Bug fix
  • Improvement

Checklist:

  • I have read the CONTRIBUTING document.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@open-metadata/ingestion

@ulixius9
ulixius9 requested a review from a team August 8, 2022 14:03
@ulixius9
ulixius9 temporarily deployed to cypress August 8, 2022 14:03 Inactive
@ulixius9
ulixius9 temporarily deployed to cypress August 8, 2022 14:03 Inactive
@@ -390,6 +416,7 @@ def write_lineage(self, add_lineage: AddLineageRequest):
except (APIError, ValidationError) as err:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we add hereHTTPError too?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sure

@ulixius9
ulixius9 temporarily deployed to cypress August 8, 2022 14:24 Inactive
@ulixius9
ulixius9 temporarily deployed to cypress August 8, 2022 14:24 Inactive
@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2022

Copy link
Copy Markdown

[open-metadata-ingestion] SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

3.4% 3.4% Coverage
0.0% 0.0% Duplication

@cypress

cypress Bot commented Aug 8, 2022

Copy link
Copy Markdown



Test summary

55 • 0 • 3 • 0


Run details

Project openmetadata
Status Passed
Commit b86e53a
Started Aug 8, 2022 2:42 PM
Ended Aug 8, 2022 2:51 PM
Duration 08:51 💡
OS Linux Ubuntu - 20.04
Browser Chrome 103

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@ulixius9
ulixius9 merged commit 997486f into open-metadata:main Aug 8, 2022

This branch was previously deployed

1 inactive deployment
cypress — b86e53ab Deployed Aug 8, 2022 by ulixius9
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.

Ingestion failed error 500

2 participants