Remove crash from emergency logging
The code hasn't been used for a while and changes on the file had made
it crash.