Skip to content

Commit 017841c

Browse files
committed
Exclude NotSupportedException
1 parent 6b93e61 commit 017841c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Compiler/Facilities/DiagnosticsLogger.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ let rec AttachRange m (exn: exn) =
174174
| :? TargetInvocationException -> AttachRange m exn.InnerException
175175
| UnresolvedReferenceNoRange a -> UnresolvedReferenceError(a, m)
176176
| UnresolvedPathReferenceNoRange (a, p) -> UnresolvedPathReference(a, p, m)
177+
| :? NotSupportedException -> exn
177178
| :? SystemException -> InternalException(exn, exn.Message, m)
178179
| _ -> exn
179180

0 commit comments

Comments
 (0)