Closed kiootic closed 5 years ago
@kiootic Please provide some sample code, thanks.
Logger.debug("enter uploadAsset")
self.container.privateCloudDatabase.uploadAsset(SKYAsset(data: data)) { asset, error in
Logger.debug("callback uploadAsset")
}
When skygear server is killed during uploadAsset
, the first log can be seen but second log cannot be seen.
Steps to reproduce in local development setup:
SKYDatabase.m
line: 703, i.e. creating SKYPostAssetOperation
uploadAsset
, the program should pause at the breakpointpostAssetCompletionBlock
does not get call as expected.
Steps to reproduce: Kill skygear server during a
uploadAsset
operationPossible cause: Early return in
SKYPostAssetOperation.handleRequestCompletionWithData