Show increase memory limit hint
This commit is contained in:
parent
03018695b6
commit
c7339303a2
|
|
@ -186,9 +186,7 @@ class _UpdateDialogState extends State<UpdateDialog> {
|
||||||
}).catchError((dynamic error) {
|
}).catchError((dynamic error) {
|
||||||
var errorStr = '$error';
|
var errorStr = '$error';
|
||||||
|
|
||||||
if (errorStr
|
if (errorStr.toLowerCase().contains('unexpected end of')) {
|
||||||
.toLowerCase()
|
|
||||||
.contains('unexpected end of json input')) {
|
|
||||||
errorStr +=
|
errorStr +=
|
||||||
'\n\nIt may help to increase the server PHP memory limit';
|
'\n\nIt may help to increase the server PHP memory limit';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue