mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-22 06:07:36 +02:00
main: xvc_server: catch exception
This commit is contained in:
@@ -415,7 +415,11 @@ int main(int argc, char **argv)
|
||||
/* XVC server */
|
||||
/* ------------------- */
|
||||
if (args.xvc) {
|
||||
try {
|
||||
return run_xvc_server(args, cable, &pins_config);
|
||||
} catch (std::exception &e) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user