kopia lustrzana https://github.com/OpenDroneMap/WebODM
Friendlier error for child returned 137
rodzic
0d369e1dd1
commit
cbfb537e58
|
@ -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});
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue