Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • W wendelin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • wendelin
  • Merge requests
  • !165

erp5_wendelin: Improve error handling in ingestion script

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Paul Graydon requested to merge paul.graydon/wendelin:ingestion_404 into master Aug 06, 2024
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Improve robustness of the default ingestion script: similar to the IngestionPolicy component that calls this script, throw a NotFound exception if either a Data Ingestion Line or a Data Operation is not found, instead of crashing the process.

In fluentd logs, this transforms a 500 status code response into a 404 status code, indicating that something was indeed not correctly set up.

I use this modification in ORS Wendelin for easier debugging and clarification, I think it could be useful for the main branch as well.

Edited Aug 06, 2024 by Paul Graydon
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ingestion_404
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7