diff options
-rw-r--r-- | Bugzilla/DB.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 842161ea2..f201124a8 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -181,6 +181,11 @@ sub _handle_error { # ThrowCodeError("db_error", { err_message => $_[0] }); #} + # keep tests happy + if (0) { + ThrowCodeError("db_error", { err_message => $_[0] }); + } + return 0; # Now let DBI handle raising the error } |