fix internal error return
This commit is contained in:
parent
5c0fa0df83
commit
71a03fb5d0
1 changed files with 4 additions and 2 deletions
|
|
@ -260,8 +260,10 @@ class NWCServiceProvider:
|
||||||
outs.append(out)
|
outs.append(out)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
outs.append({
|
outs.append({
|
||||||
|
"error":{
|
||||||
"code": "INTERNAL",
|
"code": "INTERNAL",
|
||||||
"message": str(e)
|
"message": str(e)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
sent_events = []
|
sent_events = []
|
||||||
for out in outs:
|
for out in outs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue