Skip to content

Commit

Permalink
chore: debug log
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
pociej committed May 14, 2024
1 parent be36ab0 commit 87d350c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/services/file/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const fileService = (
.run(`/golem/scripts/clamscan-json.sh /golem/workdir/${fileName}`)
.run(`cat /golem/output/temp/metadata.json`)
.end();
debugLog("file", "results", results);
debugLog("file", "result", results ? results[2].stdout : "no results");
//@ts-ignore
return JSON.parse((results[2].stdout || "null") as string);
Expand Down

0 comments on commit 87d350c

Please sign in to comment.