Skip to content

Commit

Permalink
more useful log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Aug 13, 2024
1 parent afd7f95 commit 294ae96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/OrganisationsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const organisationsController = {

res.render('organisations/overview.html', params)
} catch (error) {
logger.warn('organisationsController.getOverview(): ' + error.message ?? error.errorMessage, {type: types.App})
logger.warn('organisationsController.getOverview(): ' + error.message ?? error.errorMessage, { type: types.App })
next(error)
}
},
Expand Down Expand Up @@ -130,7 +130,7 @@ const organisationsController = {

res.render('organisations/find.html', { alphabetisedOrgs })
} catch (err) {
logger.warn('organisationsController.getOrganisations(): ' + err.message ?? err.errorMessage, {type: types.App})
logger.warn('organisationsController.getOrganisations(): ' + err.message ?? err.errorMessage, { type: types.App })
next(err)
}
},
Expand Down

0 comments on commit 294ae96

Please sign in to comment.