gopasspw / gopassbridge

A web extension for Firefox and Chrome to insert login credentials from gopass
MIT License
264 stars 24 forks source link

Improve error handling in preparation of gopass 1.10 #166

Closed Pharb closed 4 years ago

Pharb commented 4 years ago

RELEASE_NOTES=Improve error handling for gopass 1.10 upgrade

Screenshot 2020-08-09 at 23 52 32

Screenshot 2020-08-09 at 23 06 20

Screenshot 2020-08-11 at 00 28 30

Screenshot 2020-08-11 at 00 28 36

Handle:

codecov[bot] commented 4 years ago

Codecov Report

Merging #166 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #166   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          717       717           
  Branches       120       120           
=========================================
  Hits           717       717           
Impacted Files Coverage Δ
web-extension/popup.js 100.00% <ø> (ø)

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 9f765c1...9358cba. Read the comment docs.

Pharb commented 4 years ago

Part of https://github.com/gopasspw/gopassbridge/issues/165

Pharb commented 4 years ago

Checked again with latest https://github.com/gopasspw/gopass/commit/1ff797ecfa875e0020fdd6334f66048229a46c3d master.

lockejan commented 3 years ago

RELEASE_NOTES=Improve error handling for gopass 1.10 upgrade

Screenshot 2020-08-09 at 23 52 32

Screenshot 2020-08-09 at 23 06 20

Screenshot 2020-08-11 at 00 28 30

Screenshot 2020-08-11 at 00 28 36

Handle:

  • Native host has exited
  • Error when communicating with the native messaging host
  • An unexpected error occurred (=> strange Firefox behaviour, probably broken in the browser?)
  • Native application tried to send a message...

Hey, how can I debug such errors? I'm currently facing "Native host has exited" and "Error when communicating with the native messaging host."

Dev-Tools are giving me:

DevTools failed to load source map: Could not load content for chrome-extension://kkhfnlkhiapbiehimabddjbimfaijdhk/vendor/browser-polyfill.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME"