From 45179b58a34369ad64edfef13940bfa69ea20a98 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Mon, 29 Oct 2018 15:14:28 +0100 Subject: [PATCH] Fixed custom error creation, do not create default message, otherwise the info will be duplicated in error output. --- library/utility/general/error/src/error_custom.e | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/utility/general/error/src/error_custom.e b/library/utility/general/error/src/error_custom.e index f67fb2e9..a83dcf7b 100644 --- a/library/utility/general/error/src/error_custom.e +++ b/library/utility/general/error/src/error_custom.e @@ -23,8 +23,6 @@ feature {NONE} -- Initialization name := a_name if a_message /= Void then message := a_message.as_string_32 - else - message := {STRING_32} "Error: " + a_name + " (code=" + a_code.out + ")" end end