log errors only if no listener or callback (and fixup tests)