Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@paladique
Copy link
Contributor

Fixes #367. Wrapping in a try/catch. Since this is happening in Logger.cs, we'll add the exception message to the cache if we continue to get reports about problems here.

@shana
Copy link
Contributor

shana commented Jun 21, 2016

Could you squash this into one commit? It's small enough to be a self-contained commit. We'll need to cherry-pick it to a PR targeting master, too.

File.AppendAllText(defaultLogPath, msg, Encoding.UTF8);
throw;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The try/catch should be inside the lock, and only around the File.AppendAllText. Also don't throw the exception, if we do that it'll crash Visual Studio.

@paladique paladique force-pushed the paladique/fix-exports-crash branch 4 times, most recently from ec67f0e to 48dace0 Compare June 21, 2016 19:27
whitespace fix

wrap try around file operation only

remove excess bracket

whitespace fixes

remove space between keywords
@paladique paladique force-pushed the paladique/fix-exports-crash branch from 48dace0 to 996d86c Compare June 22, 2016 14:16
@shana
Copy link
Contributor

shana commented Jun 22, 2016

@shana shana merged commit a867b3e into release/1.0.18 Jun 22, 2016
@shana shana deleted the paladique/fix-exports-crash branch June 22, 2016 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants