Show increase memory limit hint

This commit is contained in:
Hillel Coren 2022-12-08 17:55:44 +02:00
parent 03018695b6
commit c7339303a2
1 changed files with 1 additions and 3 deletions

View File

@ -186,9 +186,7 @@ class _UpdateDialogState extends State<UpdateDialog> {
}).catchError((dynamic error) {
var errorStr = '$error';
if (errorStr
.toLowerCase()
.contains('unexpected end of json input')) {
if (errorStr.toLowerCase().contains('unexpected end of')) {
errorStr +=
'\n\nIt may help to increase the server PHP memory limit';
}