We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5063f3f + 8abd201 commit 981a626Copy full SHA for 981a626
src/Authentication/Authentication/Common/GraphSessionInitializer.cs
@@ -30,7 +30,13 @@ internal static GraphSession CreateInstance(IDataStore dataStore = null)
30
{
31
IGraphOption graphOptions = null;
32
// Try to create directory if it doesn't exist.
33
- Directory.CreateDirectory(Core.Constants.GraphDirectoryPath);
+ try
34
+ {
35
+ Directory.CreateDirectory(Core.Constants.GraphDirectoryPath);
36
+ }
37
+ catch (Exception)
38
39
40
if (File.Exists(Constants.GraphOptionsFilePath))
41
42
// Deserialize the JSON into the GraphOption instance
0 commit comments