Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-is-winning committed Aug 21, 2024
1 parent 063f21f commit f0a5c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ export default class WebServer {
res.on('end', () => {
try {
data = JSON.parse(data)
resolve(data);
} catch (error) {
console.error("Error parsing JSON:", error);
reject(error);
Expand Down

0 comments on commit f0a5c49

Please sign in to comment.