#1804

Updated the code to show warning with more details to deal easily.

Please check.