Skip to content

Commit c6dd746

Browse files
committed
Improve slurm error reporting
1 parent 3ca0620 commit c6dd746

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/analysis/MergeLoFreqVcfHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ else if ("I".equals(line[0]))
477477
siteIdx++;
478478
if (siteIdx % 1000 == 0)
479479
{
480-
ctx.getLogger().info("positions written: " + siteIdx);
480+
ctx.getLogger().info("positions written: " + siteIdx + ", current pos: " + site.getRight());
481481
}
482482

483483
for (SequenceOutputFile so : inputFiles)

cluster/src/org/labkey/cluster/pipeline/SlurmExecutionEngine.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected Set<String> updateStatusForAllJobs() throws PipelineJobException
172172
}
173173
catch (Exception e)
174174
{
175-
_log.error("Error parsing line: " + line);
175+
_log.error("Error parsing line: " + line, e);
176176
throw e;
177177
}
178178
}
@@ -268,7 +268,7 @@ else if (headerFound)
268268
}
269269
catch (Exception e)
270270
{
271-
_log.error("Error parsing line: " + line);
271+
_log.error("Error parsing line: " + line, e);
272272
throw e;
273273
}
274274
}
@@ -644,7 +644,7 @@ private Pair<String, String> getStatusFromQueue(ClusterJob job)
644644
}
645645
catch (Exception e)
646646
{
647-
_log.error("Error parsing line: " + line);
647+
_log.error("Error parsing line: " + line, e);
648648
throw e;
649649
}
650650
}

0 commit comments

Comments
 (0)