diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf
index 3b34364147027093b61875f568abd97d3bedeb7c..929d4645d12dd77a80a223075d78afa5a052813c 100644
--- a/workflow/rna-seq.nf
+++ b/workflow/rna-seq.nf
@@ -2002,7 +2002,7 @@ process failExecutionRun {
       else
         endInfer="unknown"
       fi
-      pipelineError_details=\$(echo \${pipelineError_details}"Paired_End: submitted value = \\""\${endMeta}"\\" while inferred value = \\""\${endsInfer}"\\". ")
+      pipelineError_details=\$(echo \${pipelineError_details}"Paired_End: submitted value = \\""\${endMeta}"\\" while inferred value = \\""\${endInfer}"\\". ")
       #pipelineError_details=\$(echo \${pipelineError_details}"|*Paired_End*|"\${endMeta}"|"\${endsInfer}"|\\n ")
     fi
     if ${pipelineError_stranded}