added new line after each output line, added exception handling
added new line after each output line, added exception handling

JASONews/centinel,rpanah/centinel,ben-jones/centinel,iclab/centinel,rpanah/centinel,Ashish1805/centinel,lianke123321/centinel,rpanah/centinel,iclab/centinel,iclab/centinel,lianke123321/centinel,lianke123321/centinel