Skip to content

Commit 1d13fcd

Browse files
fix(KoaDriver): remove console.log
1 parent 201b851 commit 1d13fcd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/driver/koa/KoaDriver.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,10 @@ export class KoaDriver extends BaseDriver implements Driver {
291291
handleError(error: any, action: ActionMetadata | undefined, options: Action): any {
292292
if (this.isDefaultErrorHandlingEnabled) {
293293
const response: any = options.response;
294-
console.log("ERROR: ", error);
295294

296295
// set http status
297296
// note that we can't use error instanceof HttpError properly anymore because of new typescript emit process
298297
if (error.httpCode) {
299-
console.log("setting status code: ", error.httpCode);
300298
options.context.status = error.httpCode;
301299
response.status = error.httpCode;
302300
} else {

0 commit comments

Comments
 (0)