aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorAlexander_Kabui2024-03-22 19:05:35 +0300
committerAlexander_Kabui2024-03-22 19:05:35 +0300
commitb58afcc53f34e3af6dcebd0553fc25b25d3a2f9d (patch)
tree0ae839392a5897cdbd281ada53d053ddf9abfcdc /gn2/wqflask/templates
parent1d08a7cfa36932cd410af1f74f888c57489e9524 (diff)
downloadgenenetwork2-b58afcc53f34e3af6dcebd0553fc25b25d3a2f9d.tar.gz
log full error messaging for gnqa rating
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/gnqa_answer.html4
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){