Added error log in master branch