Skip to content

Commit b953a9d

Browse files
committed
updated logic to use durable buffer path if provided
1 parent 6a4de38 commit b953a9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • agent/Modules/MTConnect.NET-AgentModule-MqttRelay

agent/Modules/MTConnect.NET-AgentModule-MqttRelay/Module.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ private static string GetLastSentSequenceFilePath(IAgentApplicationConfiguration
345345
{
346346
baseDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, baseDir);
347347
}
348+
Directory.CreateDirectory(baseDir);
348349
return Path.Combine(baseDir, LastSentSequenceFileName);
349350
}
350351

0 commit comments

Comments
 (0)