patched system to log errors so that Q errors aren't eaten