Try catch blocks added and errors will not be ignored anymore