summaryrefslogtreecommitdiff
path: root/cpp/examples/create_queue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/create_queue.cpp')
-rw-r--r--cpp/examples/create_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/create_queue.cpp b/cpp/examples/create_queue.cpp
index e30f40c1f6..7d08873246 100644
--- a/cpp/examples/create_queue.cpp
+++ b/cpp/examples/create_queue.cpp
@@ -73,7 +73,7 @@ int main() {
channel.close();
connection.close();
return 0;
- } catch(qpid::QpidError error) {
+ } catch(const std::exception& error) {
std::cout << error.what() << std::endl;
}
return 1;