Skip to content

Commit

Permalink
fix: add error log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Mar 14, 2024
1 parent 52a58fa commit 2f12edf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/request-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ async function handleRequest(url?: string | null) {
let asset;
try {
asset = await getAsset(url);
} catch {
} catch (err) {
console.error(err);
// todo: does this require auth?
asset = await createAsset(url);

Expand Down

0 comments on commit 2f12edf

Please sign in to comment.