Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'xpicio/hotfix/safest-getmodules-method'
Browse files Browse the repository at this point in the history
* xpicio/hotfix/safest-getmodules-method:
  Try to fix exception "System.Reflection.RuntimeAssembly in _nLoad" when iis recycle is running and an error is fired to log on Sentry
  • Loading branch information
asbjornu committed Feb 18, 2016
2 parents 74a7710 + a6d9d4e commit 930d02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/SharpRaven/Utilities/SystemUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static IDictionary<string, string> GetModules()
{
var assemblies = AppDomain.CurrentDomain
.GetAssemblies()
.Where(q => !q.IsDynamic)
.Select(a => a.GetName())
.OrderBy(a => a.Name);

Expand Down

0 comments on commit 930d02f

Please sign in to comment.