Skip to content
Snippets Groups Projects
Commit b305794a authored by Millian Poquet's avatar Millian Poquet
Browse files

[code] do not crash on NOTIFY

parent e9ff0ae1
Branches
Tags
No related merge requests found
......@@ -464,6 +464,10 @@ void run(Network & n, ISchedulingAlgorithm * algo, SchedulingDecision & d,
}
}
}
else if (event_type == "NOTIFY")
{
printf("NOTIFY received. TODO: handle correctly.");
}
else
{
throw runtime_error("Unknown event received. Type = " + event_type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment