Skip to content

Commit

Permalink
add comment to signal empty block
Browse files Browse the repository at this point in the history
  • Loading branch information
simonabadoiu committed Nov 15, 2023
1 parent dab74a0 commit cdc45bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export function sendPostRequest(manager: Manager, event: MCEvent) {
},
body: JSON.stringify(createRequestBody(event)),
})
} catch {}
} catch {
// empty
}
}

// Functions related to get requests
Expand All @@ -48,7 +50,9 @@ export function constructGetRequestUrl(event: MCEvent) {
export function sendGetRequest(manager: Manager, event: MCEvent) {
try {
manager.fetch(`${constructGetRequestUrl(event)}`)
} catch {}
} catch {
// empty
}
}

// Event listeners
Expand Down

0 comments on commit cdc45bf

Please sign in to comment.