Fixed warnings raised by Sentry