Skip to content
Snippets Groups Projects
Unverified Commit a3628158 authored by Ngoc Khuat's avatar Ngoc Khuat Committed by GitHub
Browse files

fix incorrectly log metadata timed-out when it actually not (#24586)

parent 16c10790
No related merge requests found
......@@ -303,7 +303,8 @@ saved later when it is ready."
(not timed-out?)
(assoc :result_metadata metadata))))]
(events/publish-event! :card-create card)
(log/info (trs "Metadata not available soon enough. Saving new card and asynchronously updating metadata"))
(when timed-out?
(log/info (trs "Metadata not available soon enough. Saving new card and asynchronously updating metadata")))
;; include same information returned by GET /api/card/:id since frontend replaces the Card it currently has with
;; returned one -- See #4283
(u/prog1 (-> card
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment