mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Add missing logging context at various places
Our custom logger supports providing the name of the function that calls the logger, this commit adds this context string where it was previously missing. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0dbcc9a653
commit
99ddee7815
3 changed files with 11 additions and 7 deletions
|
@ -144,7 +144,7 @@ export class NotesService {
|
|||
noteIdOrAlias: string,
|
||||
newPermissions: NotePermissionsUpdateDto,
|
||||
): Note {
|
||||
this.logger.warn('Using hardcoded data!');
|
||||
this.logger.warn('Using hardcoded data!', 'updateNotePermissions');
|
||||
return {
|
||||
id: 'foobar-barfoo',
|
||||
alias: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue