Friendlier error for child returned 137

pull/350/head
Piero Toffanin 2017-11-29 17:29:50 -05:00 zatwierdzone przez GitHub
rodzic 0d369e1dd1
commit cbfb537e58
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -220,7 +220,10 @@ class TaskListItem extends React.Component {
checkForMemoryError(lines){
for (let line of lines){
if (line.indexOf("Killed") !== -1 || line.indexOf("MemoryError") !== -1 || line.indexOf("std::bad_alloc") !== -1){
if (line.indexOf("Killed") !== -1 ||
line.indexOf("MemoryError") !== -1 ||
line.indexOf("std::bad_alloc") !== -1 ||
line.indexOf("Child returned 137") !== -1){
this.setState({memoryError: true});
}
}