mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 14:39:00 +01:00
WIP
This commit is contained in:
@@ -26,9 +26,9 @@ class qDefs : public QWidget {
|
||||
static void DisplayExceptions(std::string emsg, std::string src) {
|
||||
try {
|
||||
throw;
|
||||
} catch (sls::SocketError) {
|
||||
} catch (const sls::SocketError &e) {
|
||||
throw;
|
||||
} catch (sls::SharedMemoryError) {
|
||||
} catch (const sls::SharedMemoryError &e) {
|
||||
throw;
|
||||
} catch (const std::exception &e) {
|
||||
ExceptionMessage(emsg, e.what(), src);
|
||||
@@ -42,9 +42,9 @@ class qDefs : public QWidget {
|
||||
typename NonDeduced<CT>::type... Args) {
|
||||
try {
|
||||
throw;
|
||||
} catch (sls::SocketError) {
|
||||
} catch (const sls::SocketError &e) {
|
||||
throw;
|
||||
} catch (sls::SharedMemoryError) {
|
||||
} catch (const sls::SharedMemoryError &e) {
|
||||
throw;
|
||||
} catch (const std::exception &e) {
|
||||
ExceptionMessage(emsg, e.what(), src);
|
||||
|
||||
Reference in New Issue
Block a user