Skip to content

Commit 5fb53f7

Browse files
author
Roy Ng
committed
Fix bug for error case
1 parent b8da665 commit 5fb53f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Flow-iOS.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'Flow-iOS'
11-
s.version = '1.0.0'
11+
s.version = '1.0.1'
1212
s.summary = 'Make your logic flow and data flow clean and human readable.'
1313

1414
# This description is used to generate tags and improve search results.

Flow/Classes/Flow.swift

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public class Flow {
117117
break
118118
case .withError(let error):
119119
log(message: "\(operation.displayName) DidFinish: withError: \(error)")
120+
self.error = error
120121
stopingCaseHandling(operation: operation)
121122
break
122123
case .withInsufficientInputData(let message):

0 commit comments

Comments
 (0)