summaryrefslogtreecommitdiff
path: root/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-signal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-signal.cpp b/source/core/slang-signal.cpp
index cdf2a1179..d8218b379 100644
--- a/source/core/slang-signal.cpp
+++ b/source/core/slang-signal.cpp
@@ -52,7 +52,7 @@ SLANG_RETURN_NEVER void handleSignal(SignalType type, char const* message)
switch (type)
{
case SignalType::InvalidOperation: throw InvalidOperationException(_getMessage(type, message));
- case SignalType::AbortCompilation: throw AbortCompilationException();
+ case SignalType::AbortCompilation: throw AbortCompilationException(_getMessage(type, message));
default: throw InternalError(_getMessage(type, message));
}
#else