summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaph M <raph@raphm.com>2021-05-20 10:05:02 -0700
committerRaph M <raph@raphm.com>2021-05-20 10:05:02 -0700
commite7785a9995f2b39c8e447dbf875faae66d37cf68 (patch)
treeee3982c3f202a1e6387fd9f628d70e581a0414ac /src
parent046869954cceb49f106e3a5051517050a5515b31 (diff)
Display server-returned errormsg after the user-friendly error description. Fixes #280.
Diffstat (limited to 'src')
-rw-r--r--src/ui/documentwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 0906a1d4..9b29c14f 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1058,6 +1058,7 @@ 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 break; 1062 break;
1062 } 1063 }
1063 } 1064 }