From c5564270590a0d32ab38124fd58d0fa0bfee58c5 Mon Sep 17 00:00:00 2001 From: Scott Freeman Date: Mon, 20 Nov 2017 09:59:40 -0500 Subject: [PATCH] Rethrowing without losing stack trace --- src/BuildCast/DataModel/FeedStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildCast/DataModel/FeedStore.cs b/src/BuildCast/DataModel/FeedStore.cs index 6d96801..8eb848c 100644 --- a/src/BuildCast/DataModel/FeedStore.cs +++ b/src/BuildCast/DataModel/FeedStore.cs @@ -63,7 +63,7 @@ from sub in myJoin.DefaultIfEmpty() catch (Exception ex) { Debug.WriteLine($"Download scan failed with error {ex.Message}"); - throw ex; + throw; } }); }