We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201b851 commit 1d13fcdCopy full SHA for 1d13fcd
src/driver/koa/KoaDriver.ts
@@ -291,12 +291,10 @@ export class KoaDriver extends BaseDriver implements Driver {
291
handleError(error: any, action: ActionMetadata | undefined, options: Action): any {
292
if (this.isDefaultErrorHandlingEnabled) {
293
const response: any = options.response;
294
- console.log("ERROR: ", error);
295
296
// set http status
297
// note that we can't use error instanceof HttpError properly anymore because of new typescript emit process
298
if (error.httpCode) {
299
- console.log("setting status code: ", error.httpCode);
300
options.context.status = error.httpCode;
301
response.status = error.httpCode;
302
} else {
0 commit comments