Skip to content

Commit

Permalink
Log the query error I'm currently getting
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasnaphas committed Mar 27, 2022
1 parent a094956 commit 214b76c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const handleJoin = async (record) => {
queryData = await db.query(dbQueryParams).promise();
} catch (e) {
logger.log("error querying for connections");
logger.log(e);
return { statusCode: 500, body: e.stack };
}
if (!queryData) {
Expand Down

0 comments on commit 214b76c

Please sign in to comment.