Skip to content

Commit

Permalink
Add error log
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Dec 20, 2024
1 parent 50cc763 commit fce56e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/participant/participant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ export default class ParticipantController {
return runnableContent.length ? runnableContent.join('') : null;
} catch (error) {
/** If anything goes wrong with the response or the stream, return null instead of throwing. */
log.error('Error while exporting to playground', error);
return null;
}
}
Expand Down

0 comments on commit fce56e9

Please sign in to comment.