1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv d99f0355e3 0031731: Draw Harness - colorize errors and exception messages
Draw_Interpretor, CommandCmd() - catched exceptions and messages put into Tcl string result
before throwing a Tcl exception (return 1) are now print in intense red (using Message::SendFail()).
Duplication of exception message in std::cout and Tcl output has been removed.

Draw Harness plugins have been updated to use either Message::SendFail() or theDI instead of std::cout/std::cerr
for printing colored error message before throwing a Tcl exception.
2020-08-25 09:44:15 +03:00

17 lines
269 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: An exception was caught"
puts "================"
puts "BUC60961"
puts "OCC103"
puts "================"
puts ""
circle c 0 0 10
to3d c1 c
offset o c -2
catch {to3d result o}
checkview -display result -2d -path ${imagedir}/${test_image}.png