Skip to content

Commit 71d6e50

Browse files
committed
Revert exception on API authorization header getter incase no try, catch is used
1 parent b4e9338 commit 71d6e50

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

TarkovMonitor/TarkovTracker.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ internal interface ITarkovTrackerAPI
3535
{
3636
AuthorizationHeaderValueGetter = (rq, cr) => {
3737
return Task.Run<string>(() => {
38-
string token = GetToken(currentProfile);
39-
if (token == "") {
40-
throw new Exception("No PVE or PVP profile could be found, launch tarkov first");
41-
}
42-
43-
return token;
38+
return GetToken(currentProfile);
4439
});
4540
},
4641
}

0 commit comments

Comments
 (0)