Преглед изворни кода

Improve EventNotSubscribedException usage in project classes

Patrick-Christopher Mattulat пре 2 година
родитељ
комит
a7e37cedb1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      source/ls-std/event/EventManager.cpp

+ 1 - 1
source/ls-std/event/EventManager.cpp

@@ -30,7 +30,7 @@ void ls::std::event::EventManager::subscribe(const ls::std::core::type::event_id
   }
   else
   {
-    throw ls::std::core::EventNotSubscribedException{};
+    throw ls::std::core::EventNotSubscribedException{"id: " + _id};
   }
 }