[#111036] Improve to return a warning to get method