Skip to content

Commit

Permalink
fix(connect): throw error when connecting failed on waypoint (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtranlc authored Sep 25, 2024
1 parent e8fc599 commit 5c69a49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class WaypointConnector extends BaseConnector<WaypointProvider> {
connectResult.accessToken = accessToken;
LocalStorage.set(WAYPOINT_ACCESS_TOKEN_STORAGE_KEY, accessToken);
} catch (err) {
console.error(new ConnectorError(ConnectorErrorType.CONNECT_FAILED, err));
throw new ConnectorError(ConnectorErrorType.CONNECT_FAILED, err);
}
}

Expand Down

0 comments on commit 5c69a49

Please sign in to comment.