Commit with error locally