Skip to content

Commit

Permalink
Use full exception string
Browse files Browse the repository at this point in the history
  • Loading branch information
riQQ committed Sep 8, 2016
1 parent 9b80711 commit de6beb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Hearth Arena Uploader/HearthArenaUploaderLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private async Task<Result<CookieContainer, UploadResults>> LogInToHearthArena()
}
catch (Exception e)
{
string connectionErrorExtended = connectionError + Environment.NewLine + e.Message + Environment.NewLine + e.StackTrace;
string connectionErrorExtended = connectionError + Environment.NewLine + e;
Log.WriteLine(connectionErrorExtended, LogType.Info);
return new Result<CookieContainer, UploadResults>(null, UploadResults.ConnectionError, connectionErrorExtended);
}
Expand Down Expand Up @@ -124,7 +124,7 @@ private async Task<Result<CookieContainer, UploadResults>> LogInToHearthArena()
}
catch (Exception e)
{
string connectionErrorExtended = connectionError + Environment.NewLine + e.Message + Environment.NewLine + e.StackTrace;
string connectionErrorExtended = connectionError + Environment.NewLine + e;
Log.WriteLine(connectionErrorExtended, LogType.Info);
return new Result<CookieContainer, UploadResults>(null, UploadResults.ConnectionError, connectionErrorExtended);
}
Expand Down Expand Up @@ -169,7 +169,7 @@ private async Task<Result<UploadResults>> SubmitArenaRun(Deck run, CookieContain
}
catch (Exception e)
{
string connectionErrorExtended = connectionError + Environment.NewLine + e.Message + Environment.NewLine + e.StackTrace;
string connectionErrorExtended = connectionError + Environment.NewLine + e;
Log.WriteLine(connectionErrorExtended, LogType.Info);
return new Result<UploadResults>(UploadResults.ConnectionError, connectionErrorExtended);
}
Expand Down Expand Up @@ -212,7 +212,7 @@ private async Task<Result<UploadResults>> SubmitArenaRun(Deck run, CookieContain
}
catch (Exception e)
{
string connectionErrorExtended = connectionError + Environment.NewLine + e.Message + Environment.NewLine + e.StackTrace;
string connectionErrorExtended = connectionError + Environment.NewLine + e;
Log.WriteLine(connectionErrorExtended, LogType.Info);
return new Result<UploadResults>(UploadResults.ConnectionError, connectionErrorExtended);
}
Expand Down

0 comments on commit de6beb5

Please sign in to comment.