Skip to content

Setup DB connection so that DB errors raise exceptions#1322

Open
nicolasbrossard wants to merge 1 commit intoaces:mainfrom
nicolasbrossard:set_raise_error_db_connect
Open

Setup DB connection so that DB errors raise exceptions#1322
nicolasbrossard wants to merge 1 commit intoaces:mainfrom
nicolasbrossard:set_raise_error_db_connect

Conversation

@nicolasbrossard
Copy link
Collaborator

This PR changes the call to the connect method in class NeuroDB::DBI so that when a DB error occurs, it raises an exception (which in most cases halts script execution immediately).

@MaximeBICMTL
Copy link
Contributor

Failing CI is fixed on main if you're interested.

@MaximeBICMTL MaximeBICMTL added the Language: Perl Issue or PR related to the Perl codebase label Nov 17, 2025
@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 20 days.

@github-actions github-actions bot added the Stale label Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Perl Issue or PR related to the Perl codebase Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants