Commit 757615a
committed
DYN-9702: Log when shared definitions folder is missing
Add a Trace.TraceWarning in PathManager.DefinitionDirectories when the
common "definitions" folder (containing Curve_Validate.dyf, copied by
DynamoCore.csproj at build time) is not found at commonDataDir. This
is diagnostic-only -- the returned directory list is unchanged, and we
deliberately do not auto-create the folder (that approach was tried
and reverted). Previously this case failed completely silently, which
caused a hard-to-diagnose CI regression. PathManager has no injected
logger, so this follows the existing Trace-based diagnostic convention
used elsewhere in the codebase for logger-less, non-fatal issues
rather than adding a new logging dependency.1 parent 1875d20 commit 757615a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| |||
0 commit comments