Skip to content

Commit

Permalink
Make the logger messages more useful
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Geraghty <ed@geraghty.family>
  • Loading branch information
EdGeraghty committed Mar 8, 2024
1 parent facd133 commit 807c44d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/dialogs/SlidingSyncOptionsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function proxySlidingSyncSupportCheck(cli: MatrixClient): Promise<void> {
if (proxyUrl == undefined) {
throw new Error(`proxySlidingSyncSupportCheck: no proxy defined in our client well-known`);
}
logger.info("server natively support sliding sync OK");
logger.info("proxySlidingSyncSupportCheck: server defines a sliding sync proxy");
}

/**
Expand Down Expand Up @@ -68,7 +68,7 @@ async function slidingSyncHealthCheck(endpoint: string): Promise<void> {
if (res.status != 200) {
throw new Error(`slidingSyncHealthCheck: endpoint returned ${res.status}`);
}
logger.info("slidingSyncHealthCheck: sliding sync endpoint exists");
logger.info("slidingSyncHealthCheck: sliding sync endpoint is up");
}

export const SlidingSyncOptionsDialog: React.FC<{ onFinished(enabled: boolean): void }> = ({ onFinished }) => {
Expand Down

0 comments on commit 807c44d

Please sign in to comment.