Skip to content
Snippets Groups Projects
Commit 4250e045 authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files

added exception handling

parent 275d42d7
No related branches found
No related tags found
No related merge requests found
...@@ -162,5 +162,11 @@ void EditDefaultValueDialog::onImportInternalJson() ...@@ -162,5 +162,11 @@ void EditDefaultValueDialog::onImportInternalJson()
msgBox.setText(QString("Error: ") + QString::fromStdString(ex.what())); msgBox.setText(QString("Error: ") + QString::fromStdString(ex.what()));
msgBox.exec(); msgBox.exec();
} }
catch(LocalException& ex)
{
QMessageBox msgBox;
msgBox.setText(QString("Error: ") + QString::fromStdString(ex.what()));
msgBox.exec();
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment