Closed (duplicate)
Project:
Drupal core
Version:
4.7.0-beta6
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Mar 2006 at 22:54 UTC
Updated:
20 Mar 2006 at 23:09 UTC
if I get an error in a block of code between db_set_active calls, any errors that happen are *not* logged because the logging function is not smart enough to switch to the default before attempting to insert into the watchdog table. Error logging would be nice for people running production systems with custom modules that access other databases...
I'll look into this a bit more and see if I can scrape together a patch.
Comments
Comment #1
Chris Johnson commentedSee issue 42000.