diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-07-23 17:41:14 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-08-20 23:52:51 +0200 |
commit | 7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e (patch) | |
tree | fecad2b8aefd7561f7033fee3efbed075257a4de /Bugzilla/Quantum/Plugin/Glue.pm | |
parent | 8d59839660e4aa848c32295c1851bb0180f90116 (diff) | |
download | bugzilla-7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e.tar.gz bugzilla-7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e.tar.xz |
more tidy
Diffstat (limited to 'Bugzilla/Quantum/Plugin/Glue.pm')
-rw-r--r-- | Bugzilla/Quantum/Plugin/Glue.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm index f99026690..02514a0f8 100644 --- a/Bugzilla/Quantum/Plugin/Glue.pm +++ b/Bugzilla/Quantum/Plugin/Glue.pm @@ -48,7 +48,7 @@ sub register { sub { Bugzilla::RNG::srand(); srand(); - eval { Bugzilla->dbh->ping }; + try { Bugzilla->dbh->ping }; } ); @@ -69,9 +69,9 @@ sub register { Bugzilla::Extension->load_all(); if ( $app->mode ne 'development' ) { Bugzilla->preload_features(); - DEBUG("preloading templates"); + DEBUG('preloading templates'); Bugzilla->preload_templates(); - DEBUG("done preloading templates"); + DEBUG('done preloading templates'); } $app->secrets( [ Bugzilla->localconfig->{side_wide_secret} ] ); |