Adds generic error logging if commit file fails