This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Catch validation errors in ProcessFeedService so that one failing entry wouldn't stop others from going through
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
e4f56fa942
commit
2c58e7e06a
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
app/services/process_feed_service.rb
+ 3
- 0
app/services/process_feed_service.rb
View File
@ -36,6 +36,9 @@ class ProcessFeedService < BaseService
when
:delete
return
delete_status
end
rescue
ActiveRecord
::
RecordInvalid
=
>
e
Rails
.
logger
.
debug
"
Nothing was saved for
#{
id
}
because:
#{
e
}
"
nil
end
private
Write
Preview
Loading…
Cancel
Save