Add logging and sentry (bug 1095585)