Remove accidentally committed code that changes a debug message to an error message