Simple ErrorLogger script to report any error that occurs.