Skip to content

Commit

Permalink
fix mw again
Browse files Browse the repository at this point in the history
  • Loading branch information
mscno committed Jan 30, 2024
1 parent ffea3e1 commit e31ca82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routes/_middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export async function loggermw(req: Request, ctx: FreshContext) {
const start = Date.now();
const resp = await ctx.next();
const ms = Date.now() - start;
const ts = new Date().toISOString();
logger.info(`${req.method} ${req.url} - ${ms}ms`);
return resp;
}

1 comment on commit e31ca82

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on e31ca82 Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

TypeError: Deno.stdout.isTerminal is not a function
    at https://deno.land/x/logger@v1.1.4/stdout.ts:1:27

Please sign in to comment.