Skip to content

Commit 39d8cc6

Browse files
committed
catch
1 parent 655a059 commit 39d8cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimizely/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export default class Optimizely extends BaseService implements Client {
260260
if (vuid) {
261261
this.odpManager?.setVuid(vuid);
262262
}
263-
}, (err) => {
263+
}).catch((err) => {
264264
this.state = ServiceState.Failed;
265265
this.errorReporter.report(err);
266266
this.startPromise.reject(err);

0 commit comments

Comments
 (0)