Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportSentry ¶
ReportSentry creates a new issue with the necessary information to sentry and logs the issue
Types ¶
type Report ¶
type Report struct {
Location string `json:"location"`
Flags map[string]interface{} `json:"flags"`
FileName string `json:"file_name"`
Query string `json:"query_name"`
Platform string `json:"platform"`
Kind model.FileKind `json:"kind"`
Metadata map[string]interface{} `json:"query_metadata"`
Message string `json:"message"`
Err error `json:"error"`
AdditionalValues map[string]interface{} `json:"additional_values"`
}
Report is the struct containing necessary information to send to sentry
Click to show internal directories.
Click to hide internal directories.