Logging to try to track down riot-web#3148

Since I can't figure out how this is happening, add a shedload of logging to
try to pin it down.
This commit is contained in:
Richard van der Hoff 2017-02-06 16:01:25 +00:00
parent 77f76db68b
commit 484d9d708e
4 changed files with 38 additions and 2 deletions

View file

@ -43,7 +43,13 @@ const AsyncWrapper = React.createClass({
componentWillMount: function() {
this._unmounted = false;
// XXX: temporary logging to try to diagnose
// https://github.com/vector-im/riot-web/issues/3148
console.log('Starting load of AsyncWrapper for modal');
this.props.loader((e) => {
// XXX: temporary logging to try to diagnose
// https://github.com/vector-im/riot-web/issues/3148
console.log('AsyncWrapper load completed with '+e.displayName);
if (this._unmounted) {
return;
}