Browse Source

Improve EventNotSubscribedException usage in project classes

Patrick-Christopher Mattulat 1 year ago
parent
commit
a7e37cedb1
1 changed files with 1 additions and 1 deletions
  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};
   }
 }