summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-10-11 16:05:09 -0700
committerGitHub <noreply@github.com>2017-10-11 16:05:09 -0700
commit28ca4dc60aecc0acda8b364d0553a72d2e6c7964 (patch)
tree281c2e2ec0cc64196098bb54fd0528e67862d69b
parent331ddfa7bfe00bce628dd1aa0f721f24554dfedd (diff)
Fixup: re-enable exception guard (#208)
This is intended to produce a better experience for end users when they encounter internal compiler errors.
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index e51d111de..65abbb3f2 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -859,7 +859,7 @@ SLANG_API int spCompile(
{
auto req = REQ(request);
-#if 0
+#if 1
// By default we'd like to catch as many internal errors as possible,
// and report them to the user nicely (rather than just crash their
// application). Internally Slang currently uses exceptions for this.