log sentry/mixpanel if using dev