From bc7ec9d1c5cd9d4a3c8a8937dbc79ba412ff1152 Mon Sep 17 00:00:00 2001 From: Denilson Marques Date: Fri, 23 Jan 2026 13:30:51 -0800 Subject: [PATCH] Log exception --- src/Common/FileAccess/FileAccessRepository.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Common/FileAccess/FileAccessRepository.cs b/src/Common/FileAccess/FileAccessRepository.cs index 39ef67d..ca2ac61 100644 --- a/src/Common/FileAccess/FileAccessRepository.cs +++ b/src/Common/FileAccess/FileAccessRepository.cs @@ -167,7 +167,15 @@ public void AddFileAccess(FileAccessData fileAccessData) // Augmented file accesses may not be in a canonical form (may have "..\..\") if (isAnAugmentedFileAccess) { - path = Path.GetFullPath(path); + try + { + path = Path.GetFullPath(path); + } + catch (NotSupportedException ex) + { + throw new NotSupportedException( + $"Path.GetFullPath failed for path: `{path}`. Node Id: {_nodeContext.Id}, Process Id: {fileAccessData.ProcessId}", ex); + } } if (operation == ReportedFileOperation.Process)