diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-06-15 11:48:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 11:48:02 -0700 |
commit | af37e2c948c140dbee2421a3cb046e068cc5b0f8 (patch) | |
tree | a40c4ec35f088ae4877df774dccaa068bd8065a2 /src/main/main.cpp | |
parent | 5de97c3efe8794bf7e39774686dca81a1982a8ed (diff) |
BV: Add missing type check for INT_TO_BITVECTOR. (#4613)
Fixes #4130.
This further makes an attempt at more consistent error printing.
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r-- | src/main/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index 96ba1bc93..3310a75bf 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -57,9 +57,9 @@ int main(int argc, char* argv[]) { #ifdef CVC4_COMPETITION_MODE *opts.getOut() << "unknown" << endl; #endif - cerr << "CVC4 Error:" << endl << e << endl << endl - << "Please use --help to get help on command-line options." - << endl; + cerr << "(error \"" << e << "\")" << endl + << endl + << "Please use --help to get help on command-line options." << endl; } catch(Exception& e) { #ifdef CVC4_COMPETITION_MODE *opts.getOut() << "unknown" << endl; @@ -68,7 +68,7 @@ int main(int argc, char* argv[]) { { *opts.getOut() << "(error \"" << e << "\")" << endl; } else { - *opts.getErr() << "CVC4 Error:" << endl << e << endl; + *opts.getErr() << "(error \"" << e << "\")" << endl; } if(opts.getStatistics() && pExecutor != NULL) { pTotalTime->stop(); |