From 4e7d9eee0c64eebba94dd0044145e9758fa6163a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 24 Apr 2024 17:19:53 -0700 Subject: [PATCH] translate: don't rethrow errors Fixes: https://github.com/damus-io/api/issues/3 Signed-off-by: William Casarin --- src/translate.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/translate.js b/src/translate.js index cc2d32d..a691274 100644 --- a/src/translate.js +++ b/src/translate.js @@ -116,7 +116,6 @@ async function handle_translate(api, req, res) { if (id) delete api.translation.queue[id] util.invalid_request(res, `error processing request: ${err}`) - throw err } }