BUG-1708: This change is just an improvement which writes the web-request output in case of errors. This should help to find the problem. Also cleaned the code a bit.

This commit is contained in:
RKrom 2014-11-28 16:48:05 +01:00
parent 0e2d9cda61
commit b9e86d4af7
4 changed files with 108 additions and 91 deletions

View file

@ -209,7 +209,7 @@ namespace Greenshot.IniFile {
}
if (iniFilePath == null) {
// check if file is in the same location as started from, if this is the case
// we will use this file instead of the Applicationdate folder
// we will use this file instead of the ApplicationData folder
// Done for Feature Request #2741508
iniFilePath = Path.Combine(applicationStartupPath, configFilename);
if (!File.Exists(iniFilePath)) {