mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
catch all exception image import
This commit is contained in:
@@ -204,6 +204,8 @@ def import_url(request):
|
|||||||
pass
|
pass
|
||||||
except MissingSchema:
|
except MissingSchema:
|
||||||
pass
|
pass
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
return HttpResponse(reverse('view_recipe', args=[recipe.pk]))
|
return HttpResponse(reverse('view_recipe', args=[recipe.pk]))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user