Chore: Add deprecation warnings for Sentry (#60165)

This commit is contained in:
Domas
2022-12-13 16:41:42 +02:00
committed by GitHub
parent fe3ae49cce
commit c2cea076ee
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ type frontendLogMessageHandler func(hs *HTTPServer, c *web.Context)
const sentryLogEndpointPath = "/log"
const grafanaJavascriptAgentEndpointPath = "/log-grafana-javascript-agent"
/** @deprecated will be removed in the next major version */
func NewFrontendLogMessageHandler(store *frontendlogging.SourceMapStore) frontendLogMessageHandler {
return func(hs *HTTPServer, c *web.Context) {
event := frontendlogging.FrontendSentryEvent{}