fix: remove deprecated `catchErrors` constructor option

BREAKING CHANGE: Deprecated `new Probot({catchErrors})` has been removed
This commit is contained in:
Gregor 2019-01-27 11:24:34 -08:00
parent 57587b83b8
commit f46c41cb89
1 changed files with 0 additions and 6 deletions

View File

@ -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'))
}
}
/**