TestErrorBasic does a very simple sanity check to ensure the error can be sent to the sentry and segment buffers
(t *testing.T)
| 8 | // TestErrorBasic does a very simple sanity check to ensure the error can be sent |
| 9 | // to the sentry and segment buffers |
| 10 | func TestErrorBasic(t *testing.T) { |
| 11 | segmentBufferDir = t.TempDir() |
| 12 | sentryBufferDir = t.TempDir() |
| 13 | started = true |
| 14 | |
| 15 | fakeErr := errors.New("fake error") |
| 16 | meta := Metadata{} |
| 17 | |
| 18 | Error(fakeErr, meta) |
| 19 | } |