Skip to content

Commit

Permalink
translate: don't rethrow errors
Browse files Browse the repository at this point in the history
Fixes: #3
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Apr 25, 2024
1 parent bfe6c42 commit 4e7d9ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 4e7d9ee

Please sign in to comment.