Skip to content

Commit 93f60fe

Browse files
committed
wip
1 parent 1f4038d commit 93f60fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/gias/import_schools_and_local_authorities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def call
2323
end
2424
import_batch
2525
end
26-
raise ImportFailure, import_errors.map(&:errors) if import_errors.any?
26+
raise(ImportFailure, import_errors.map { |x| x.errors.full_messages }) if import_errors.any?
2727
end
2828
end
2929

0 commit comments

Comments
 (0)