Skip to content

Commit

Permalink
Remove rogue logging (#5)
Browse files Browse the repository at this point in the history
* fix url logging

* update tasks

* remove rogue logging
  • Loading branch information
justinmchase committed Aug 6, 2023
1 parent add3cf4 commit 47109d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/controllers/error.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export class ErrorController<
ctx.response.status = status;
ctx.response.body = { ok: false, message };
ctx.response.headers.set("Content-Type", "application/json");
console.log(ctx.state);
ctx.state.context.log.error(
"server_error",
`An unhandled error occurred: ${message}`,
Expand Down
6 changes: 5 additions & 1 deletion src/grove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ export class Grove<TContext extends IContext> {
});
}
command.action((args: unknown) => {
console.log(args);
context.log.debug(
"grove",
"grove command",
args as Record<string, unknown>,
);
this.run(args, context, mode);
});
}
Expand Down

0 comments on commit 47109d4

Please sign in to comment.