Skip to content

Commit b791ed6

Browse files
committed
Log query string for season episode error
1 parent d3d2b0d commit b791ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/media.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export const getVideoV2 = async(ctx: ParameterizedContext): Promise<MediaMetadat
229229
}
230230

231231
if (season && !episode) {
232-
throw new ValidationError('season must also have an episode number');
232+
throw new ValidationError(`season must also have an episode number, received ${ctx.url}`);
233233
}
234234

235235
let { language }: UmsQueryParams = ctx.query;

0 commit comments

Comments
 (0)