display error log after failed build