fast72 commited on
Commit
dc8e676
·
verified ·
1 Parent(s): b70740a

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -0
server.js CHANGED
@@ -22,6 +22,7 @@ app.get('/transcript', async (req, res) => {
22
  const transcript = await getTranscript(url);
23
  res.json({ transcript });
24
  } catch (error) {
 
25
  res.status(500).json({ error: 'Failed to fetch transcript' });
26
  }
27
  });
 
22
  const transcript = await getTranscript(url);
23
  res.json({ transcript });
24
  } catch (error) {
25
+ console.log(error);
26
  res.status(500).json({ error: 'Failed to fetch transcript' });
27
  }
28
  });