Added some try-catches to parser to prevent flameouts