Some dead code
Log some error conditions which are currently ignored