Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient() *raven.Client
Return our global Sentry client, or nil if none was configured.
func Warningf ¶
func Warningf(msgfmt string, args ...interface{})
Warningf takes a format string and arguments with the same meaning as with fmt.Printf and sends the message as a warning to Sentry if Sentry is configured. It makes a best-effort attempt to process the arguments to ensure that Sentry buckets the warning by the format string rather than by the specific values of the arguments.
Types ¶
type NoisyTransport ¶
type NoisyTransport struct {
// contains filtered or unexported fields
}
func (*NoisyTransport) Send ¶
func (nt *NoisyTransport) Send(url, authHeader string, packet *raven.Packet) error
By default Sentry quietly drops errors and it is awkward to retrieve them at reporting sites, so this wraps the Transport to log any errors encountered.
Click to show internal directories.
Click to hide internal directories.