Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3451 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3451 Rev 3456
Línea 14... Línea 14...
14
    return { hasError: true };
14
    return { hasError: true };
15
  }
15
  }
Línea 16... Línea 16...
16
 
16
 
17
  componentDidCatch(error, errorInfo) {
17
  componentDidCatch(error, errorInfo) {
18
    console.error('ErrorBoundary caught an error: ', error, errorInfo);
18
    console.error('ErrorBoundary caught an error: ', error, errorInfo);
19
    this.props.logout();
19
    //this.props.logout();
20
    this.props.addNotification({ style: 'danger', msg: 'Ha ocurrido un error inesperado' });
20
    this.props.addNotification({ style: 'danger', msg: 'Ha ocurrido un error inesperado' });
Línea 21... Línea 21...
21
  }
21
  }
22
 
22