Skip to content

Commit 9f00833

Browse files
committed
fix: exception message
1 parent 57a1aa0 commit 9f00833

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

BugSplatDotNetStandard.Test/Api/CrashPostClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ await sut.PostMinidump(
134134
largeFile,
135135
MinidumpPostOptions.Create(bugsplat)
136136
);
137-
}, "Failed to parse symbol upload url: crash post size limit exceeded");
137+
}, "Failed to parse upload url: crash post size limit exceeded");
138138
}
139139

140140
[Test]

BugSplatDotNetStandard/Api/CrashPostClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,12 @@ private async Task<Uri> GetPresignedUrlFromResponse(HttpResponseMessage response
294294

295295
if (string.IsNullOrEmpty(url) && !string.IsNullOrEmpty(message))
296296
{
297-
throw new Exception($"Failed to parse symbol upload url: {message}");
297+
throw new Exception($"Failed to parse upload url: {message}");
298298
}
299299

300300
if (string.IsNullOrEmpty(url))
301301
{
302-
throw new Exception("Failed to parse symbol upload url");
302+
throw new Exception("Failed to parse upload url");
303303
}
304304

305305
return new Uri(url);

0 commit comments

Comments
 (0)