Fixed custom error creation, do not create default message, otherwise the info will be duplicated in error output.

This commit is contained in:
2018-10-29 15:14:28 +01:00
parent 31fa31bd53
commit 45179b58a3

View File

@@ -23,8 +23,6 @@ feature {NONE} -- Initialization
name := a_name name := a_name
if a_message /= Void then if a_message /= Void then
message := a_message.as_string_32 message := a_message.as_string_32
else
message := {STRING_32} "Error: " + a_name + " (code=" + a_code.out + ")"
end end
end end