Skip to content

Fix iframely error spam when a non 200 code is received. #2118

Ben requested to merge fix/iframely-error-spam-2118 into master

Closes #2118 (closed)

Summary

Looking at https://iframely.com/docs/result-codes all non-200 responses can be considered errors. In this MR we catch them and any other errors thrown in communicating with iframely, and send out a ServerErrorException.

Steps

  • Test with a URL we know returns a non-200 code from the report https://go.byoblu.com/ApneistaMiocardite
  • Test with a URL we know is valid https://www.minds.com/

Regression Scope

Any regression should be contained to the area of preview generation. Testing should minimize risk here.

Merge request reports