Conform more of the codebase to strictNullChecks (#11100)
This commit is contained in:
committed by
GitHub
parent
328db8fdfd
commit
7b3a4e556a
@@ -160,7 +160,7 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
|
||||
if (!this.unmounted) {
|
||||
this.setState({
|
||||
downloadBusy: false,
|
||||
downloadProgress: _t("Failed to send logs: ") + `${err.message}`,
|
||||
downloadProgress: _t("Failed to send logs: ") + `${err instanceof Error ? err.message : ""}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user