add sentry support(untested)