Hide warn output if debug is not enabled