projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692f9e2
)
Add a slightly more informative error to dcpomatic_server_cli.
author
Carl Hetherington
<cth@carlh.net>
Sun, 13 Mar 2016 22:40:52 +0000
(22:40 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 13 Mar 2016 22:40:52 +0000
(22:40 +0000)
src/tools/dcpomatic_server_cli.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_server_cli.cc
b/src/tools/dcpomatic_server_cli.cc
index 336d578eef2c881a49c50ccff7cddbf0be1e2304..e51e53399466384d6533f2e28c1ee5d29e36c994 100644
(file)
--- a/
src/tools/dcpomatic_server_cli.cc
+++ b/
src/tools/dcpomatic_server_cli.cc
@@
-120,6
+120,8
@@
main (int argc, char* argv[])
exit (EXIT_FAILURE);
}
cerr << argv[0] << ": " << e.what() << "\n";
+ } catch (std::exception& e) {
+ cerr << argv[0] << ": failed to start server; " << e.what() << "\n";
}
return 0;
}