Skip to content

Commit

Permalink
Add cause
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Meyering <[email protected]>
  • Loading branch information
chgeo and bugwelle authored Aug 7, 2024
1 parent c8af47d commit baedfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookstore/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cds.once('bootstrap',(app)=>{
app.serve ('/orders') .from('@capire/orders','app/orders')
app.serve ('/data') .from('@capire/data-viewer','app/viewer')
} catch (err) {
if (err.code === 'MODULE_NOT_FOUND') throw new Error('Run "npm ci" to install the required dependencies')
if (err.code === 'MODULE_NOT_FOUND') throw new Error('Run "npm ci" to install the required dependencies', { cause: err })
throw err
}
})
Expand Down

0 comments on commit baedfc8

Please sign in to comment.