Fixed custom error creation, do not create default message, otherwise the info will be duplicated in error output.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user