Fixed else if statement generation in sequence diagrams (Fixes #81)

This commit is contained in:
Bartek Kryza
2023-08-06 21:38:33 +02:00
parent 39be6014ed
commit fd06d93afb
8 changed files with 44 additions and 24 deletions

View File

@@ -211,7 +211,7 @@ void generate_diagrams(const std::vector<std::string> &diagram_names,
if (indicator)
indicator->complete(name);
}
catch (std::runtime_error &e) {
catch (std::exception &e) {
if (indicator)
indicator->fail(name);