Skip to content

Commit

Permalink
Increase the number of characters shown in case of error [NOJIRA] (#6132
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rhpvorderman committed Dec 14, 2020
1 parent da4e308 commit 5511e23
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -335,7 +335,7 @@ class WorkflowManagerActor(params: WorkflowManagerActorParams)
case reason: ThrowableAggregation => expandFailureReasons(reason.throwables.toSeq)
case reason: KnownJobFailureException =>
val stderrMessage = reason.stderrPath map { path =>
val content = Try(path.annotatedContentAsStringWithLimit(300)).recover({
val content = Try(path.annotatedContentAsStringWithLimit(3000)).recover({
case e => s"Could not retrieve content: ${e.getMessage}"
}).get
s"\nCheck the content of stderr for potential additional information: ${path.pathAsString}.\n $content"
Expand Down

0 comments on commit 5511e23

Please sign in to comment.