shiori/internal/webserver
Felipe Martin Garcia 4de21eaf40
fix: avoid panic usage when downloading bookmark (#513)
Removed the usage of `panic()` when downloading a bookmark and simply
return an error that has to be checked by implementations.

Right now the API will continue if the bookmark download fails (either
sync or async) but will leave a log with the error cause, so the users
have the bookmark stored even if the archival didn't actually happen
(but can be done manually later on).

Fixes #459
2022-10-14 13:37:24 +02:00
..
assets-dev.go Initial new web interfaces 2019-05-27 17:01:53 +07:00
assets-prod.go replace assets generation with embed (#423) 2022-05-26 19:36:23 +02:00
handler-api-ext.go fix: saving bookmarks inconsistencies (#500) 2022-10-11 23:47:38 +02:00
handler-api.go fix: avoid panic usage when downloading bookmark (#513) 2022-10-14 13:37:24 +02:00
handler-ui.go refactor:pass ctx to db layer, return err instead of recover panic (#450) 2022-09-30 12:19:36 +02:00
handler.go Web Server and CI Improvements (#374) 2022-02-19 08:22:50 +01:00
server.go feat: improve performance for sqlite queries (#425) 2022-08-08 20:52:33 +02:00
utils.go refactor:pass ctx to db layer, return err instead of recover panic (#450) 2022-09-30 12:19:36 +02:00