Skip to content

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Nov 8, 2024
1 parent 6b5d2f3 commit 072186e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/db/sync.ml
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,9 @@ let sync ?(report = fun _ -> ()) ~(source : Source.connexion) idb =
Stores.Genres_by_canonical_name.get_key canon i_genres
|> Request.fut
|> Fun.flip Fut.bind (function
| Ok (Some key) ->
Console.log [ "Found genre with key"; key ];
Fut.return key
| Ok (Some key) -> Fut.return key
| Ok None ->
let genre = Generic_schema.{ Genre.name; canon } in
Console.log [ "Genre not found, inserting" ];
Stores.Genres_store.add genre s_genres
|> Request.fut |> Fut.map Result.get_exn
| Error e -> raise (Jv.Error e))
Expand Down

0 comments on commit 072186e

Please sign in to comment.