sourcegraph / sourcegraph-extension-api

Sourcegraph extension API: use and build extensions that enhance reading and reviewing code in your existing tools. "The extension API you wish your code host had."
44 stars 2 forks source link

refactor: simplify error messages from jsonrpc2 handlers #103

Closed chrismwendt closed 6 years ago

chrismwendt commented 6 years ago

This makes error messages such as the ones seen in https://github.com/sourcegraph/sourcegraph/issues/366 less cryptic.

codecov[bot] commented 6 years ago

Codecov Report

Merging #103 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   78.07%   78.07%           
=======================================
  Files          61       61           
  Lines        2472     2472           
  Branches      521      521           
=======================================
  Hits         1930     1930           
  Misses        542      542
Impacted Files Coverage Δ
src/protocol/jsonrpc2/connection.ts 76.37% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a438c3f...4b25d50. Read the comment docs.

sourcegraph-bot commented 6 years ago

:tada: This PR is included in version 18.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: