forked from mirrors/probot
fix: remove deprecated `catchErrors` constructor option
BREAKING CHANGE: Deprecated `new Probot({catchErrors})` has been removed
This commit is contained in:
parent
57587b83b8
commit
f46c41cb89
|
@ -48,12 +48,6 @@ export class Application {
|
|||
this.router = opts.router || express.Router() // you can do this?
|
||||
this.githubToken = opts.githubToken
|
||||
this.throttleOptions = opts.throttleOptions
|
||||
|
||||
if (opts.catchErrors) {
|
||||
// Deprecated since 7.2.0
|
||||
// tslint:disable-next-line:no-console
|
||||
console.warn(new Error('Property `catchErrors` is deprecated and has no effect'))
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue