Detailed information on errors when running core:archive


I’m getting an error when running core:archive, without specifying any parameters. All I see is:

php /piwik/console core:archive --url=http://mypiwikurl/

1 total errors during this script execution, please investigate and try and fix these errors.

There are no details whatsoever of what caused the exception, nor any debug/verbose information.

How can I obtain more information?