diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/gnqa_answer.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 5d4d58f8..8ac121e6 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -268,8 +268,8 @@ async function voteRequest (gn_server_url,task_id,metadata){ return {"message":"success",status:0} } else { - let {error} = await response.json() - return {"message":`HTTP Error:HTTP Response Code: ${response?.status}-reason-${error}`,status:1} + let {error,error_description} = await response.json() + return {"message":`HTTP Error:HTTP Response Code: ${response?.status}-reason-${error_description}`,status:1} } } catch (err){ |