From 56391cfb1924b705ac11dfe05d075165101c06f7 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 29 Sep 2021 19:28:53 +0200 Subject: [PATCH] debug --- packages/ipfs-api/src/server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ipfs-api/src/server.ts b/packages/ipfs-api/src/server.ts index 6fedf94d..9ce5e9df 100644 --- a/packages/ipfs-api/src/server.ts +++ b/packages/ipfs-api/src/server.ts @@ -77,6 +77,8 @@ async function handleGetLink( res.status(200).send({ skylink }); return; } catch (error) { + console.log(error); + res.status(500).send(error); return; }