Added a comment.
This commit is contained in:
parent
ad34a71646
commit
177b5adc98
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ int main(int argc, char * argv[], char * envp[])
|
||||||
catch (const std::exception& err) {
|
catch (const std::exception& err) {
|
||||||
std::cout.flush(); // first display anything that was pending
|
std::cout.flush(); // first display anything that was pending
|
||||||
|
|
||||||
|
// Display any pending error context information
|
||||||
string context = error_context();
|
string context = error_context();
|
||||||
if (! context.empty())
|
if (! context.empty())
|
||||||
std::cerr << context << std::endl;
|
std::cerr << context << std::endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue