]> Git — Sourcephile - gargantext.git/commit
[refactoring] remove Prelude.read which causes difficult to debug errors
authorPrzemek Kaminski <pk@intrepidus.pl>
Thu, 24 Feb 2022 13:28:58 +0000 (14:28 +0100)
committerPrzemek Kaminski <pk@intrepidus.pl>
Thu, 24 Feb 2022 13:28:58 +0000 (14:28 +0100)
commit3e3510aefc569a037264a2aad93fbcca979eaacb
tree42c6710b6d9aaad69f3449b3f98ad8b2d2e77528
parentcf18484101422b9a6183ebf565b752d3356dc7e2
[refactoring] remove Prelude.read which causes difficult to debug errors

Instead use Text.Read.readMaybe and panic with custom error message.
bin/gargantext-import/Main.hs
src/Gargantext/Core/Types/Main.hs
src/Gargantext/Database/Prelude.hs