Skip to content

Commit

Permalink
change deprecated usage of res.send
Browse files Browse the repository at this point in the history
  • Loading branch information
dburandt committed Apr 27, 2020
1 parent d1ae744 commit a7fb1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExpressReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class ExpressReceiver implements Receiver {
this.logger.debug('stored response sent');
}
} catch (err) {
res.send(500);
res.status(500).send();
throw err;
}
}
Expand Down

0 comments on commit a7fb1ed

Please sign in to comment.