0
0
Fork 0

Update OStatus2 to handle malformed Salmon without raising unexpected exceptions

This commit is contained in:
Eugen Rochko 2016-10-06 14:46:34 +02:00
parent 2f5b205916
commit 5cfc9efad3
2 changed files with 3 additions and 5 deletions

View file

@ -35,7 +35,7 @@ class ProcessInteractionService < BaseService
delete_post!(xml, account)
end
end
rescue Goldfinger::Error, HTTP::Error
rescue Goldfinger::Error, HTTP::Error, OStatus2::BadSalmonError
nil
end