Added message general failure default handler for python and ruby