mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-16 05:41:03 +01:00
This commit is contained in:
1 parent
5ee25fb1e7
commit
9e7d3b6d2d
3 files changed
+263
-262
No files matched your search
@@ -121,7 +121,15 @@ namespace WireMock.Server
|
||||
foreach (string filename in Directory.EnumerateFiles(folder).OrderBy(f => f))
|
||||
{
|
||||
_logger.Info("Reading Static MappingFile : '{0}'", filename);
|
||||
ReadStaticMappingAndAddOrUpdate(filename);
|
||||
|
||||
try
|
||||
{
|
||||
ReadStaticMappingAndAddOrUpdate(filename);
|
||||
}
|
||||
catch
|
||||
{
|
||||
_logger.Error("Static MappingFile : '{0}' could not be read. This file will be skipped.", filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user