Refactored get_message for less duplication
Refactored get_message for less duplication

samratashok87/Rammbock,samratashok87/Rammbock,WamanAvadhani/Rammbock,WamanAvadhani/Rammbock,robotframework/Rammbock,robotframework/Rammbock