mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-15 10:25:20 +01:00
revert "temporarily disable throwing on failure" (#1239)
This commit is contained in:
parent
28a1bd5219
commit
9d4d09810a
@ -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