[master] Add explicit exception what strings
This should fix the unit tests complaining about wrong error messages. While debugging, I also found an uninitialized value error that has been present probably since the logger code exists. This has also been fixed.
Showing with 72 additions and 38 deletions