Consent by the user

When Sentry is integrated into a web application, do users need to be informed that in case of errors data are sent to the provider of the web application? Do they have to provide explicit consent?
Thank you