panel icon indicating copy to clipboard operation
panel copied to clipboard

errors when user denies permission

Open joehand opened this issue 6 years ago • 1 comments

There are a few places where errors are lost when user denies permission.

One is on the save file: https://github.com/enokidotsite/panel/blob/master/source/plugins/panel.js#L202. This is fixed by adding await:

return await archive.writeFile(filePath, fileEncoded, encoder)

There was another, but can't remember at the moment. I'll add comment if I find again.

joehand avatar May 11 '18 07:05 joehand

Ah! Good catch.

jondashkyle avatar May 16 '18 22:05 jondashkyle