Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit caf73b8

Browse files
committed
Add more detail to our exception logging
Also move the GitHub.Logging assembly to its own namespace so that it's easy to filter out when dumping stacktraces
1 parent 7989f5b commit caf73b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+71
-24
lines changed

src/GitHub.Api/Application/ApiClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Linq;
44
using System.Threading.Tasks;
55
using Octokit;
6+
using GitHub.Unity.Logs;
67

78
namespace GitHub.Unity
89
{

src/GitHub.Api/Application/ApplicationManagerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
using System.Linq;
33
using System.Threading;
44
using System.Threading.Tasks;
5-
using Octokit;
65
using System.Collections.Generic;
6+
using GitHub.Unity.Logs;
77

88
namespace GitHub.Unity
99
{

src/GitHub.Api/Authentication/Keychain.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Linq;
44
using System.Threading.Tasks;
55
using Octokit;
6+
using GitHub.Unity.Logs;
67

78
namespace GitHub.Unity
89
{

src/GitHub.Api/Authentication/LoginManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Net;
33
using System.Threading.Tasks;
44
using Octokit;
5+
using GitHub.Unity.Logs;
56

67
namespace GitHub.Unity
78
{

src/GitHub.Api/Events/RepositoryWatcher.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Threading;
55
using System.Threading.Tasks;
66
using sfw.net;
7+
using GitHub.Unity.Logs;
78

89
namespace GitHub.Unity
910
{

src/GitHub.Api/Git/GitClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using GitHub.Unity.Logs;
2+
using System;
23
using System.Collections.Generic;
34
using System.Linq;
45
using System.Threading;

src/GitHub.Api/Git/GitCredentialManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using GitHub.Unity.Logs;
12
using System;
23
using System.Collections.Generic;
34
using System.Threading.Tasks;

src/GitHub.Api/Git/Repository.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using GitHub.Unity.Logs;
2+
using System;
23
using System.Collections.Generic;
34
using System.Diagnostics;
45
using System.Globalization;

src/GitHub.Api/Git/RepositoryManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Threading;
55
using System.Threading.Tasks;
66
using Octokit;
7+
using GitHub.Unity.Logs;
78

89
namespace GitHub.Unity
910
{

src/GitHub.Api/IO/Utils.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
using GitHub.Unity.Logs;
2+
using System;
23
using System.Diagnostics;
34
using System.IO;
45
using System.Net;

0 commit comments

Comments
 (0)