mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Lite: Fix error handling on the ASGI app (#5982)
This commit is contained in:
parent
a32aabaf50
commit
ab1e5da557
5
.changeset/warm-chefs-trade.md
Normal file
5
.changeset/warm-chefs-trade.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gradio/wasm": minor
|
||||
---
|
||||
|
||||
feat:Lite: Fix error handling on the ASGI app
|
@ -129,5 +129,5 @@ export const makeHttpRequest = (
|
||||
headers: headersToASGI(request.headers)
|
||||
};
|
||||
|
||||
asgiApp(scope, receiveFromJs, sendToJs);
|
||||
asgiApp(scope, receiveFromJs, sendToJs).catch(reject);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user