Added Error Log

Added a error log