Skip to content

Multipart.swift finishMultipart exception is not thrown. #23

@baquedano

Description

@baquedano

Hi, There's a problem with Multipart.swift line 158, the exception was just printed out instead of being thrown (the throw is commented out) so I'm unable to handle the exception and end up having a loader screen stuck.

Only get this printed out instead:

Task <698420E9-94EC-4F7F-9F2D-0F16AFB77E7A>.<1> finished with error - code: -1001
Error in dataTaskWithRequest: Optional(Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x280492b50 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://ipfs.infura.io:5001/api/v0/add?stream-channels=true, NSErrorFailingURLKey=https://ipfs.infura.io:5001/api/v0/add?stream-channels=true, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.})

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions