Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
147
Issues
147
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
dc47aca4
Commit
dc47aca4
authored
Apr 07, 2025
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve diagnostic of emitTsvParseWarning
parent
66c8c9b9
Pipeline
#7516
passed with stages
in 50 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
New.hs
src/Gargantext/API/Node/Corpus/New.hs
+1
-1
No files found.
src/Gargantext/API/Node/Corpus/New.hs
View file @
dc47aca4
...
@@ -305,7 +305,7 @@ addToCorpusWithForm user cid nwf jobHandle = do
...
@@ -305,7 +305,7 @@ addToCorpusWithForm user cid nwf jobHandle = do
emitTsvParseWarning
::
MonadJobStatus
m
=>
JobHandle
m
->
AtRow
(
Text
,
ByteString
)
->
m
()
emitTsvParseWarning
::
MonadJobStatus
m
=>
JobHandle
m
->
AtRow
(
Text
,
ByteString
)
->
m
()
emitTsvParseWarning
jh
(
AtRow
row_num
(
t
,
_r
))
=
emitTsvParseWarning
jh
(
AtRow
row_num
(
t
,
_r
))
=
let
msg
=
UnsafeMkHumanFriendlyErrorText
(
"
Parsing of record at row "
<>
T
.
pack
(
show
row_num
)
<>
"
failed due to: "
<>
t
)
let
msg
=
UnsafeMkHumanFriendlyErrorText
(
"
Skipping record at row "
<>
T
.
pack
(
show
row_num
)
<>
" as parsing
failed due to: "
<>
t
)
in
emitWarning
msg
jh
in
emitWarning
msg
jh
{-
{-
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment