diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-05 15:18:25 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-05 15:18:25 (GMT) |
commit | 799ca6d265d7a362526d66e7f615f914695b867e (patch) | |
tree | 357afa5281dcfe72c7fee3e12c75505eca8dea1a /test/src/test-w3c.cpp | |
parent | 83ef70ebc7527240f56e2e601777a613bce6e47e (diff) | |
download | uscxml-799ca6d265d7a362526d66e7f615f914695b867e.zip uscxml-799ca6d265d7a362526d66e7f615f914695b867e.tar.gz uscxml-799ca6d265d7a362526d66e7f615f914695b867e.tar.bz2 |
Catch std::exception before ... and output e.what()
Diffstat (limited to 'test/src/test-w3c.cpp')
-rw-r--r-- | test/src/test-w3c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/test-w3c.cpp b/test/src/test-w3c.cpp index 7eb54a7..6a3294d 100644 --- a/test/src/test-w3c.cpp +++ b/test/src/test-w3c.cpp @@ -145,7 +145,7 @@ class W3CStatusMonitor : public uscxml::InterpreterMonitor { if (config.size() == 1) { if (withFlattening) { std::cout << ATTR_CAST(config[0], "id") << std::endl; - if (boost::starts_with(ATTR_CAST(config[0], "id"), "active-pass")) { + if (boost::starts_with(ATTR_CAST(config[0], "id"), "active:{pass")) { std::cout << "TEST SUCCEEDED" << std::endl; exit(EXIT_SUCCESS); } |