Added error handling with msfvenom generating payload

Added error handling with msfvenom generating payload