log e621 post md5 mismatch without failing
This commit is contained in:
@@ -73,7 +73,11 @@ module Domain::E621::Job
|
||||
|
||||
e621_md5 = post_json["file"]["md5"]
|
||||
if post.md5 && post.md5 != e621_md5
|
||||
fatal_error("md5 mismatch for post")
|
||||
logger.error(
|
||||
"[ id: #{post.id} / e621_id: #{post.e621_id} ] " +
|
||||
"md5 mismatch for post: #{post.md5} != #{e621_md5}"
|
||||
)
|
||||
return false
|
||||
else
|
||||
post.md5 = e621_md5
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user