mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-25 12:05:59 +01:00
temporarily disable throwing on failure (#1236)
This commit is contained in:
parent
1197c10592
commit
28a1bd5219
@ -101,27 +101,27 @@ namespace Bit.Publisher
|
|||||||
{
|
{
|
||||||
Console.WriteLine("Upload exception: {0}", progress.Exception);
|
Console.WriteLine("Upload exception: {0}", progress.Exception);
|
||||||
}
|
}
|
||||||
throw new Exception("Upload failed.");
|
// throw new Exception("Upload failed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine("Version code {0} has been uploaded.", aab.VersionCode);
|
// Console.WriteLine("Version code {0} has been uploaded.", aab.VersionCode);
|
||||||
|
//
|
||||||
var trackRequest = service.Edits.Tracks.Update(new Track
|
// var trackRequest = service.Edits.Tracks.Update(new Track
|
||||||
{
|
// {
|
||||||
TrackValue = _track,
|
// TrackValue = _track,
|
||||||
Releases = new List<TrackRelease>
|
// Releases = new List<TrackRelease>
|
||||||
{
|
// {
|
||||||
new TrackRelease { VersionCodes = new List<long?> { aab.VersionCode }, Status = "completed" }
|
// new TrackRelease { VersionCodes = new List<long?> { aab.VersionCode }, Status = "completed" }
|
||||||
}
|
// }
|
||||||
}, Package, edit.Id, _track);
|
// }, Package, edit.Id, _track);
|
||||||
|
//
|
||||||
var updatedTrack = await trackRequest.ExecuteAsync();
|
// var updatedTrack = await trackRequest.ExecuteAsync();
|
||||||
Console.WriteLine("Track {0} has been updated.", updatedTrack.TrackValue);
|
// Console.WriteLine("Track {0} has been updated.", updatedTrack.TrackValue);
|
||||||
|
//
|
||||||
var commitRequest = service.Edits.Commit(Package, edit.Id);
|
// var commitRequest = service.Edits.Commit(Package, edit.Id);
|
||||||
var commitEdit = await commitRequest.ExecuteAsync();
|
// var commitEdit = await commitRequest.ExecuteAsync();
|
||||||
Console.WriteLine("App edit with id {0} has been comitted.", commitEdit.Id);
|
// Console.WriteLine("App edit with id {0} has been comitted.", commitEdit.Id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user