Commit fc70445
authored
fix: Make gun open errors explicitly into temporary failures (#118)
Updates `gun_open_*` failures during stream initialization to translate
to `temporary` failures, as expected by the calling function.
I think these errors were always meant to be explicitly `temporary`.
Otherwise, if these are currently returned the calling `try` block
wouldn't pattern match and I believe it would crash the process. At that
point we'd be relying on the supervisor restarts instead of managed
backoff.
Co-authored-by: Zurab Davitiani <zurab@launchdarkly.com>1 parent b7065aa commit fc70445
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments