Browse Source

Improve EventNotHandledException usage in project classes

Patrick-Christopher Mattulat 2 years ago
parent
commit
ddb131eee5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      source/ls-std/event/EventManager.cpp

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

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-27
- * Changed:         2023-02-04
+ * Changed:         2023-02-07
  *
  * */
 
@@ -73,7 +73,7 @@ void ls::std::event::EventManager::fire(ls::std::event::Event _event)
   }
   else
   {
-    throw ls::std::core::EventNotHandledException{};
+    throw ls::std::core::EventNotHandledException{"id: " + _event.getId()};
   }
 }