Skip to content

Commit 3c1bf01

Browse files
Return success false on failure:
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent 8fa87db commit 3c1bf01

File tree

1 file changed

+1
-0
lines changed
  • src/implementation/Server/HTTPServer

1 file changed

+1
-0
lines changed

src/implementation/Server/HTTPServer/pubsub.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default class HTTPServerPubSub implements IServerPubSub {
4343
await cb(data);
4444
} catch (e) {
4545
console.error(e);
46+
return res.send({ success: false });
4647
}
4748

4849
// Let Dapr know that the message was processed correctly

0 commit comments

Comments
 (0)