I check my logs today in production and found below error logs indicating the crashing of my phoenix server endpoint.
request_id=FfJ7ijs3cGTfqa8AHM_B [error] 3914- fatal: :expected_element_start_tag
[error] #PID<0.21588.4> running DebitorWeb.Endpoint (connection #PID<0.21587.4>, stream id 1) terminated
:expected_element_start_tag per what I stumbled upon is related to xmerl - I’m using SweetXml which is a wrapper around xmerl.
Will I be right in concluding that this is what is causing the crashing of the Endpoint - can I simply wrap the library in a try and catch block to resolve this issue.