提交 f124c9a0 编写于 作者: B Benjamin Pasero

fix potential npe

上级 93a3cc92
......@@ -177,7 +177,7 @@ export class MessageList {
return toErrorMessage(message, false);
}
if ((<IMessageWithAction>message).message) {
if (message && (<IMessageWithAction>message).message) {
return (<IMessageWithAction>message).message;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册