Skip to content

Commit faf059f

Browse files
isoosjonasfj
andauthored
Update pkg/pub_worker/lib/src/upload.dart
Co-authored-by: Jonas Finnemann Jensen <[email protected]>
1 parent 4a4a7b7 commit faf059f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/pub_worker/lib/src/upload.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ final class TaskAbortedException extends UploadException {
9595
TaskAbortedException(String message) : super(message);
9696
}
9797

98+
/// Extract `error.code` from JSON body in [res].
9899
String? _extractExceptionCode(Response res) {
99100
try {
100101
final map = json.decode(res.body);

0 commit comments

Comments
 (0)