Skip to content

Commit bffa0b9

Browse files
authored
Merge pull request #3138 from chrisr-diffblue/exception-fixup
Make incorrect_goto_program_exceptiont only output '(at: ..)' if there is a source_location
2 parents de672d7 + 604af12 commit bffa0b9

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)