Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tiprock-network authored Sep 14, 2023
1 parent a1407f2 commit 00ef2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ app.post('/create-train-project', async (req,res)=>{
res.status(200).redirect('/classify-image')
} catch (e) {
console.log('This error occurred: ',e)//remember to change this to default behaviour and not throw actual error
res.status(500).send('An error occurred during project creation and training.');
res.status(500).send('<h1>An error occurred during project creation and training</h1>'+`<br><p>${e}</p>`);
}
})

Expand Down

0 comments on commit 00ef2dc

Please sign in to comment.