Skip to content
Snippets Groups Projects
Commit 6aff0965 authored by Jérôme POIRIER's avatar Jérôme POIRIER
Browse files

feat: add debug logs in file service for 404

parent af6750e2
No related branches found
No related tags found
No related merge requests found
Pipeline #67639 passed
......@@ -23,6 +23,7 @@ export class FileService {
return readFile(documentFilePath);
}
this.logger.debug(`No such file or directory '${filepath}'`);
throw new NotFoundException(`No such file or directory '${filepath}'`);
}
......@@ -64,6 +65,7 @@ export class FileService {
return removeSync(fullpath);
}
this.logger.debug(`No such file or directory ${path}`);
throw new NotFoundException(`No such file or directory '${path}'`);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment