Skip to content

Commit

Permalink
tiny log change
Browse files Browse the repository at this point in the history
  • Loading branch information
PipeItToDevNull committed Jan 5, 2025
1 parent 9854921 commit 1f1a1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const handleAnalyzeDmp = async (req, res) => {
// Then analyze the directory if the checks pass
fs.readdir(filePath, { withFileTypes: true }, (err, files) => {
if (err) {
logger.error(`Failed to read directory: ${err.message}`);
logger.error(`Failed to read extracted directory: ${err.message}`);
res.status(500).send(`An error occurred while reading the extracted directory: ${err.message}`);
return;
}
Expand Down

0 comments on commit 1f1a1e8

Please sign in to comment.