added input bindings of execute error log
fix some code formatting
remove unnecessary errorInfo variable