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.