Skip to content

Commit

Permalink
OY-5025 Parannettu lokitusta
Browse files Browse the repository at this point in the history
  • Loading branch information
jkorri committed Dec 30, 2024
1 parent eb98fd6 commit b082338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/liiteri/preview/preview_generator.clj
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
(when (generate-next-preview config db storage-engine)
(recur)))
(catch Throwable t
(println "Unexpected throwable!")
(log/error t "Unexpected throwable!")
(.printStackTrace t))))

(defprotocol Generator
Expand Down
1 change: 1 addition & 0 deletions src/liiteri/virus_scan.clj
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
(log/info "Starting virus scan results polling")
(a/go-loop []
(when-let [_ (a/<! times)]
(log/info "Polling for virus scan results")
(while (< 0 (poll-scan-results sqs-poll-results-client result-queue-url db storage-engine config)))
(recur)))
(assoc this :chan times
Expand Down

0 comments on commit b082338

Please sign in to comment.