1
0
mirror of https://github.com/gusaul/grpcox.git synced 2025-04-17 19:25:37 +00:00
This commit is contained in:
Andriyanov DV 2023-09-22 19:41:57 +03:00 committed by GitHub
commit acec7f3b32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,8 +131,13 @@ $('#select-function').change(function(){
method: "GET",
success: function(res){
if (res.error) {
alert(res.error);
return;
// on error generate empty editor. Fail of reflection should not interrupt request try.
console.log("Cant describe "+selected+" procedure: ", res.error)
res.data = {
template: "",
schema: ""
}
}
generate_editor(res.data.template);