chore: log error directly otherwise stacktrace will be lost

This commit is contained in:
lihao.ylh 2022-03-18 11:25:05 +08:00
parent f167a5567f
commit e569be26c8

View File

@ -20,7 +20,7 @@ export default function rendererFactory() {
class FaultComponent extends PureComponent {
render() {
// FIXME: errorlog
console.error(this.props.error);
console.error('render error', this.props);
return createElement(Div, {
style: {