forked from e621ng/e621ng
parent
584f69d407
commit
64259a0b4e
@ -83,6 +83,13 @@ end
|
||||
unless Rails.env.test?
|
||||
CurrentUser.user = admin
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
begin
|
||||
import_posts
|
||||
import_mascots
|
||||
rescue StandardError => e
|
||||
puts "--------"
|
||||
puts "#{e.class}: #{e.message}"
|
||||
puts "Failure during seeding, continuing on..."
|
||||
puts "--------"
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user