Skip to content

Commit d3d2b0d

Browse files
committed
Don't log it
1 parent 0ae508b commit d3d2b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ app.use(async(ctx, next) => {
5454
if (
5555
process.env.NODE_ENV !== 'test' &&
5656
(
57+
!(err instanceof DeprecationError) &&
5758
!(err instanceof MediaNotFoundError) &&
5859
!(err instanceof IMDbIDNotFoundError) &&
5960
!(err instanceof ExternalAPIError) &&

0 commit comments

Comments
 (0)