feat: sentry integration (#385)

* feat: sentry support

* ci: depscheck
This commit is contained in:
Adam Uhlíř
2022-06-16 20:32:53 +02:00
committed by GitHub
parent 2edf99c323
commit 109e07b097
13 changed files with 406 additions and 70 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export function postJson(url: string, data?: Record<string, any>): Promise<Recor
return sendRequest(url, 'POST', data)
}
async function sendRequest(
export async function sendRequest(
url: string,
method: 'GET' | 'POST',
data?: Record<string, unknown>,