Commit d5e11ca9 authored by HankG's avatar HankG

Add more logging to LinkPreviewService

parent e015cbd9
......@@ -73,14 +73,17 @@ namespace MySocialPortalLib.Service
}
catch(System.ArgumentException e)
{
Console.WriteLine($"Error retrieving preview for: {url}");
Console.WriteLine(e);
}
catch (System.Net.WebException e)
{
Console.WriteLine($"Error retrieving preview for: {url}");
Console.WriteLine(e);
}
catch (System.UriFormatException e)
{
Console.WriteLine($"Error retrieving preview for: {url}");
Console.WriteLine(e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment