Added better log message on extension error.