Skip to content

Commit 41f74c9

Browse files
authored
Stop dumping modules on visualization failure (#13737)
1 parent be86d6f commit 41f74c9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

engine/runtime-instrument-common/src/main/scala/org/enso/interpreter/instrument/job/ProgramExecutionSupport.scala

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -771,12 +771,10 @@ object ProgramExecutionSupport {
771771
p.getLocation().getEncapsulatingSourceSection() match {
772772
case ss: SourceSection =>
773773
logger.warn(
774-
"Error at {}-{} (e.g. `{}`) of {} with text:\n{}",
775-
ss.getCharIndex(),
776-
ss.getCharEndIndex(),
777-
ss.getCharacters(),
778-
visualizationId,
779-
ss.getSource().getCharacters()
774+
s"Error at ${ss.getCharIndex()}-${ss
775+
.getCharEndIndex()} in ${ss.getSource.getPath} (e.g. `${ss
776+
.getCharacters()}`) of visualization $visualizationId",
777+
p
780778
)
781779
case _ =>
782780
}

0 commit comments

Comments
 (0)