Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • DaVinci DaVinci
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCb
  • DaVinciDaVinci
  • Issues
  • #28
Closed
Open
Created Jan 21, 2022 by Eduardo Rodrigues@erodriguMaintainer

Scoped exceptions in DaVinci configuration code

Issue found discussing a user misleading error message, see https://mattermost.web.cern.ch/lhcb/pl/oqmbwnzn6pn5udb5um4tui4fcc.

In short one should never use bare except statements as in https://gitlab.cern.ch/lhcb/DaVinci/-/blob/master/Phys/DaVinci/python/DaVinci/algorithms.py#L217-223. There are several places to be fixed. In this particular example an ImportError and/or ModuleNotFoundError should be added.

Edited Jan 21, 2022 by Eduardo Rodrigues
Assignee
Assign to
Time tracking