Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • W wendelin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • 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
  • nexedi
  • wendelin
  • Merge requests
  • !165

Closed
Created Aug 06, 2024 by Paul Graydon@paul.graydonContributor
  • Report abuse
Report abuse

erp5_wendelin: Improve error handling in ingestion script

  • Overview 3
  • Commits 1
  • Pipelines 2
  • 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
Reviewer
Request review from
Time tracking
Source branch: ingestion_404
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7