Skip to content

Commit 8782de8

Browse files
authored
Merge pull request #925 from clinwiki-org/wiki-updater-error
change error message for user_email missing in import
2 parents 297c7c3 + 772ca41 commit 8782de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/wiki_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def should_create_edit?
5050

5151
def create_edit
5252
return unless should_create_edit?
53-
raise "Cannot update WikiPage with updater not specified" if @updater.blank?
53+
raise "Cannot update WikiPage with updater/user/email not specified" if @updater.blank?
5454
diff = Diffy::Diff.new(text_was, text)
5555
wiki_page_edits << WikiPageEdit.new(
5656
user: @updater,

0 commit comments

Comments
 (0)