UNPKG
@rlanz/sentry
Version:
latest (0.3.3)
next (0.2.0-0)
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.2.0-0
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A wrapper around the Sentry SDK to make it easier to use in a AdonisJS application
@rlanz/sentry
/
build
/
src
/
middleware.d.ts
6 lines
(5 loc)
•
213 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
HttpContext
}
from
'@adonisjs/core/http'
;
import
type
{
NextFn
}
from
'@adonisjs/core/types/http'
;
export
default
class
SentryMiddleware
{
handle
(
ctx
:
HttpContext
,
next
:
NextFn
):
Promise
<
any
>; }