CakePHP CLI Sentry integration


I have currently a problem with Sentry and CakePHP 3.8 integration. So the errors are logging well when navigating the web app, but they are not in CakePHP Commands. Is there something special to do ? I tried to put Sentry dsn / configuration in bootstrap_cli.php but it doesn’t work.