More friendly error for TerminatedWorkerError

pull/528/head
Piero Toffanin 2018-09-26 22:40:34 -04:00
rodzic c810c6c030
commit 1a49bb937b
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -227,6 +227,7 @@ class TaskListItem extends React.Component {
line.indexOf("MemoryError") !== -1 ||
line.indexOf("std::bad_alloc") !== -1 ||
line.indexOf("Child returned 137") !== -1 ||
line.indexOf("loky.process_executor.TerminatedWorkerError:") !== -1 ||
line.indexOf("Failed to allocate memory") !== -1){
this.setState({memoryError: true});
}else if (line.indexOf("SVD did not converge") !== -1){