Skip to content

Commit

Permalink
Fix bug in report, the old "type": "Error" is no more in use
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Aug 13, 2024
1 parent a6804b7 commit 0fb0142
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ json Feature::get_report_json()
for (auto& e : _errors[std::get<0>(err)])
{
json jj;
jj["type"] = "Error";
jj["code"] = std::get<0>(err);
jj["description"] = ALL_ERRORS[std::get<0>(err)];
jj["id"] = std::get<0>(e);
Expand Down
1 change: 0 additions & 1 deletion src/GeometryTemplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ std::vector<json> GeometryTemplate::get_errors()
for (auto& e : _errors[std::get<0>(err)])
{
json jj;
jj["type"] = "Error";
jj["code"] = std::get<0>(err);
jj["description"] = ALL_ERRORS[std::get<0>(err)];
jj["id"] = std::get<0>(e);
Expand Down
1 change: 0 additions & 1 deletion src/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ json IOErrors::get_report_json()
for (auto i : err.second)
{
json jj;
jj["type"] = "Error";
jj["code"] = err.first;
jj["description"] = ALL_ERRORS[err.first];
jj["info"] = i;
Expand Down

0 comments on commit 0fb0142

Please sign in to comment.