Added error log to the debug perspective