diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-20 21:08:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 21:08:13 +0300 |
commit | 59c067cbe0ae317f99734fb7e9552556588983ac (patch) | |
tree | 99f4638687ba80a810075ff0b79dd2aaa37b94bf /src/ui | |
parent | 5eef316269435522111db7d1b51c8a82a6ecda0d (diff) | |
parent | e7785a9995f2b39c8e447dbf875faae66d37cf68 (diff) |
Merge pull request #281 from raphm/dev
Display server-returned errormsg after user-friendly error description. Fixes #280.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 1 |
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 | } |