Skip to content

Commit

Permalink
Including the inner exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJWoodcock committed Nov 25, 2021
1 parent 76298e0 commit 888bc5d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public async Task<string> Get(string type, string applicationId)

return content;
}
catch
catch(Exception ex)
{
throw new ArgumentException($"Failed to get content for {cacheKey}");
throw new ArgumentException($"Failed to get content for {cacheKey}", ex);
}
}
}
Expand Down

0 comments on commit 888bc5d

Please sign in to comment.