Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • 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.graydonDeveloper
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: ingestion_404
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7