Fix encountered exception
- Call to ReadAllText returns the file text, subsequent call in error
This commit is contained in:
parent
2b748aa9af
commit
0178f2d5f7
1 changed files with 1 additions and 2 deletions
|
|
@ -244,8 +244,7 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
try
|
||||
{
|
||||
textFileName = AggContext.StaticData.ReadAllText(Path.Combine("TextWebCache", longHash.ToString() + ".txt"));
|
||||
fileText = File.ReadAllText(textFileName);
|
||||
fileText = AggContext.StaticData.ReadAllText(Path.Combine("TextWebCache", longHash.ToString() + ".txt"));
|
||||
updateResult?.Invoke(fileText);
|
||||
}
|
||||
catch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue