Skip to content

Commit 604af12

Browse files
Make incorrect_goto_program_exceptiont only output '(at: ..)' if there is a source_location
1 parent 49230ec commit 604af12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/util/exception_utils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ incorrect_goto_program_exceptiont::incorrect_goto_program_exceptiont(
6363

6464
std::string incorrect_goto_program_exceptiont::what() const
6565
{
66-
return message + " (at: " + source_location.as_string() + ")";
6766
if(source_location.is_nil())
6867
return message;
6968
else

0 commit comments

Comments
 (0)