Temporarily add more logging, to try to catch failures on travis

This commit is contained in:
Richard van der Hoff 2017-01-18 17:22:41 +00:00
parent 7351223fd4
commit a16aeeef2a
2 changed files with 5 additions and 2 deletions

View file

@ -259,6 +259,8 @@ module.exports = React.createClass({
}, },
onAction: function(payload) { onAction: function(payload) {
console.log("onAction: "+payload.action);
var roomIndexDelta = 1; var roomIndexDelta = 1;
var self = this; var self = this;
@ -1006,8 +1008,8 @@ module.exports = React.createClass({
var ForgotPassword = sdk.getComponent('structures.login.ForgotPassword'); var ForgotPassword = sdk.getComponent('structures.login.ForgotPassword');
var LoggedInView = sdk.getComponent('structures.LoggedInView'); var LoggedInView = sdk.getComponent('structures.LoggedInView');
// console.log("rendering; loading="+this.state.loading+"; screen="+this.state.screen + console.log("rendering; loading="+this.state.loading+"; screen="+this.state.screen +
// "; logged_in="+this.state.logged_in+"; ready="+this.state.ready); "; logged_in="+this.state.logged_in+"; ready="+this.state.ready);
if (this.state.loading) { if (this.state.loading) {
var Spinner = sdk.getComponent('elements.Spinner'); var Spinner = sdk.getComponent('elements.Spinner');

View file

@ -28,6 +28,7 @@ class MatrixDispatcher extends flux.Dispatcher {
* for. * for.
*/ */
dispatch(payload, sync) { dispatch(payload, sync) {
console.log("Dispatch: "+payload.action);
if (sync) { if (sync) {
super.dispatch(payload); super.dispatch(payload);
} else { } else {