Conform more of the codebase to strict types (#11191)
This commit is contained in:
parent
4044c2aa66
commit
8107f1d271
25 changed files with 88 additions and 57 deletions
|
@ -272,7 +272,7 @@ export default class ReportEventDialog extends React.Component<IProps, IState> {
|
|||
logger.error(e);
|
||||
this.setState({
|
||||
busy: false,
|
||||
err: e.message,
|
||||
err: e instanceof Error ? e.message : String(e),
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue