diff --git a/Code/Program/.vs/NetworkShareMapper/v17/.suo b/Code/Program/.vs/NetworkShareMapper/v17/.suo index 13fd653..2684d72 100644 Binary files a/Code/Program/.vs/NetworkShareMapper/v17/.suo and b/Code/Program/.vs/NetworkShareMapper/v17/.suo differ diff --git a/Code/Program/NetworkShareMapper/NetworkDriveMapping.cs b/Code/Program/NetworkShareMapper/NetworkDriveMapping.cs index 88bda98..2b5aa8c 100644 --- a/Code/Program/NetworkShareMapper/NetworkDriveMapping.cs +++ b/Code/Program/NetworkShareMapper/NetworkDriveMapping.cs @@ -60,14 +60,14 @@ public void Execute() } catch (Exception e) { - myLogWriter.LogWrite("Failed to map networkdrive " + policy.driveLetter + " to " + policy.uncPath + "\nException: " + e.Message + "\n" + e.StackTrace,2); + myLogWriter.LogWrite("Failed to map networkdrive " + policy.driveLetter + " to " + policy.uncPath + "\nException: " + e.ToString(), 2); // do nothing } } } catch (Exception e) { - myLogWriter.LogWrite("An unknown error occured.\nException: " + e.Message + "\n" + e.StackTrace, 3); + myLogWriter.LogWrite("An unknown error occured.\nException: " + e.ToString(), 3); } retryCount--; } else diff --git a/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.exe b/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.exe index 9e051bb..51c436e 100644 Binary files a/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.exe and b/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.exe differ diff --git a/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.pdb b/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.pdb index fe9ebde..0bb813c 100644 Binary files a/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.pdb and b/Code/Program/NetworkShareMapper/obj/Release/NetworkShareMapper.pdb differ