Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Drupal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 55
    • Issues 55
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Development
  • Drupal
  • Issues
  • #135

Closed
Open
Created Aug 19, 2020 by eileen@eileen🎱Owner

Use Exception handling for drush (d7) commands - specifically civicrm-upgrade-db

When there is a problem upgrading via drush this is how it looks

Screen_Shot_2020-08-19_at_2.33.52_PM

I think we should set exception handling 'somewhere' & my current best guess as to where is

--- a/CRM/Upgrade/Headless.php +++ b/CRM/Upgrade/Headless.php @@ -30,6 +30,8 @@ class CRM_Upgrade_Headless { set_time_limit(0); }

  • // As long as the error scope is not deconstructed exceptions will be thrown.
  • $errorScope = CRM_Core_TemporaryErrorScope::useException(); $upgrade = new CRM_Upgrade_Form();
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking