Fix bug when error is not matching existing error
fix defaillant error catcher