summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 9b29c14f..452e5508 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1058,7 +1058,9 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode
1058 cstr_String(meta)); 1058 cstr_String(meta));
1059 break; 1059 break;
1060 default: 1060 default:
1061 appendFormat_String(src, "\n\nServer returned error: %s", cstr_String(meta)); 1061 if (!isEmpty_String(meta)) {
1062 appendFormat_String(src, "\n\n${error.server.msg}\n> %s", cstr_String(meta));
1063 }
1062 break; 1064 break;
1063 } 1065 }
1064 } 1066 }