How to categorise javascript erros produced on shopping website?

Keywords´╝Ü javascript python machine-learning

Question: 

I am new to machine learning and trying to solve one of my problem through ML, in which I need to categorise errors produced on website during testing for example javascript error - session timed out. I already have categories. Which algorithm or NLP library/AWS service should I use to solve this problem?

I have implemented one pure NLP based model which giving me accuracy of 60%.

Answers: