Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Dec 1, 2024
1 parent dcadb6f commit 66f9a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/admin/src-admin/src/tabs/Hosts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class Hosts extends Component<HostsProps, HostsState> {
this.setState(newState as HostsState);
})
.catch((e: unknown): void => {
window.alert(`Cannot getRepository: ${e}`);
window.alert(`Cannot getRepository: ${e as Error}`);
if ((e as Error).toString().includes('timeout')) {
this.setState({ showSlowConnectionWarning: true });
}
Expand Down

0 comments on commit 66f9a22

Please sign in to comment.