Skip to content

Commit

Permalink
bug(poc): log error when configuration file could not be found
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeFwd committed Oct 31, 2024
1 parent c0d02f3 commit e89a3f0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
string? configFolderPath = ResourceLocator.GetConfigurationFolderPath();
if (configFolderPath == null)
{
Logger.Error(
"Poc config could not be applied because the configuration folder could not be found.");
continue;
}
instruction.operand = Path.Combine(configFolderPath, "poc.config.json");
Expand Down

0 comments on commit e89a3f0

Please # to comment.