Skip to content

Commit

Permalink
Fixup: re-enable exception guard (#208)
Browse files Browse the repository at this point in the history
This is intended to produce a better experience for end users when they encounter internal compiler errors.
  • Loading branch information
Tim Foley authored Oct 11, 2017
1 parent 331ddfa commit 28ca4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/slang/slang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 28ca4dc

Please sign in to comment.