[Koha-bugs] [Bug 25026] RaiseError must be set for the UI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 4 03:27:50 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25026

--- Comment #15 from David Cook <dcook at prosentient.com.au> ---
I'm not sure about this change...

Why don't we just set RaiseError and PrintError in Database.pm and then deal
with localizations in install.pl and misc4dev? 

For example:

"If you want to temporarily turn RaiseError off (inside a library function that
is likely to fail, for example), the recommended way is like this:"
https://metacpan.org/pod/DBI#RaiseError

{
  local $h->{RaiseError};  # localize and turn off for this block
  ...
}

I'd prefer that ideally.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list