diff --git a/SerialPrograms/Source/CommonFramework/Exceptions/FatalProgramException.h b/SerialPrograms/Source/CommonFramework/Exceptions/FatalProgramException.h index 4a193185c8..c9cf726013 100644 --- a/SerialPrograms/Source/CommonFramework/Exceptions/FatalProgramException.h +++ b/SerialPrograms/Source/CommonFramework/Exceptions/FatalProgramException.h @@ -53,6 +53,7 @@ class FatalProgramException : public Exception{ ErrorReportMode error_report_mode() const { return m_error_report_mode; } virtual const char* name() const override{ return "FatalProgramException"; } + virtual std::string message() const override{ return m_message; } ImageViewRGB32 screenshot_view() const { if (m_screenshot){ return *m_screenshot;