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

Commit 930d02f

Browse files
committed
Merge remote-tracking branch 'xpicio/hotfix/safest-getmodules-method'
* 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
2 parents 74a7710 + a6d9d4e commit 930d02f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/SharpRaven/Utilities/SystemUtil.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public static IDictionary<string, string> GetModules()
4949
{
5050
var assemblies = AppDomain.CurrentDomain
5151
.GetAssemblies()
52+
.Where(q => !q.IsDynamic)
5253
.Select(a => a.GetName())
5354
.OrderBy(a => a.Name);
5455

0 commit comments

Comments
 (0)