Skip to content

Commit

Permalink
fix: adding error to console.error
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 committed Jan 30, 2024
1 parent a16bce8 commit f491e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/managers/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class PlayGroundManager {
post_req.write(post_data);
post_req.end();
post_req.on('error', error => {
console.error('connection on error.');
console.error('connection on error.', error);
const q = this.queries.get(query.id);
q.error = `Something went wrong while trying to request model.${String(error)}`;
void this.sendQueriesState();
Expand Down

0 comments on commit f491e2e

Please sign in to comment.