Adress the following suggestions to improve the Sentry code: - https://github.com/sourcegraph/sourcegraph-sentry/pull/45#discussion_r291079411 : check possibility of turning path into keyOf Settings - https://github.com/sourcegraph/sourcegraph-sentry/pull/45#discussion_r290912689 : improve readability of conditions/loops.