mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
commit
441b63d294
1 changed files with 7 additions and 1 deletions
|
@ -213,6 +213,12 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
DebugHelper.WriteLine("B2 uploader: Too Many Requests, trying with same URL.");
|
||||
continue;
|
||||
}
|
||||
else if (uploadResult.RC == 503)
|
||||
{
|
||||
DebugHelper.WriteLine("B2 uploader: Service Unavailable, trying with new URL.");
|
||||
url = null;
|
||||
continue;
|
||||
}
|
||||
else if (uploadResult.RC != 200)
|
||||
{
|
||||
// something else happened that wasn't a success, so bail out
|
||||
|
|
Loading…
Reference in a new issue