added current date and time to the error log