Skip to content

Commit

Permalink
bug: exception when turning debug view off and on #94
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Sep 25, 2024
1 parent 41893cb commit c0dac88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
res += '\n\n commands:';
if (commandsLog.length) {
if (commandsLog && commandsLog.length) {
for (const {index, type, payload} of commandsLog) {
res += `\n └ ${index}. { type: ${type}, payload: ${
payload instanceof Event ? payload.constructor.name : payload
Expand Down

0 comments on commit c0dac88

Please sign in to comment.