Index: vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml
===================================================================
diff -u -r50943 -r50984
--- vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml (.../Test.cls.xml) (revision 50943)
+++ vhUnitTest/WSimpl/Vhisie4/Auth/HandelAuthenticator/Decrypteerder/Decrypteer/Test.cls.xml (.../Test.cls.xml) (revision 50984)
@@ -182,6 +182,21 @@
]]>
+
+
+
+
1
+
+vhLib.Logger
+1
+
+
-LoginParameterBepaler:WSimpl.Unishop.Login.ParameterBepaler="",HandelKlantDataRepository:DOM.VKP.impl.HandelKlantDataRepository="",HandelPersonalityRepository:DOM.common.impl.HandelPersonalityRepository="",WebshopSessionService:APPS.EC.WebshopSessionService="",LoginKortingBewaarder:WSimpl.Unishop.Login.KortingBewaarder="",UrlBepaler:APPS.EC.Webshop.UrlBepaler="",HandelToegelatenLadetypesBepaler:DOM.VKP.impl.HandelToegelatenLadetypesBepaler="",KlantDataBewaarder:APPS.VKP.impl.KlantDataBewaarder="",KlantDataRepository:DOM.VKP.impl.KlantDataRepository=""
+LoginParameterBepaler:WSimpl.Unishop.Login.ParameterBepaler="",HandelKlantDataRepository:DOM.VKP.impl.HandelKlantDataRepository="",HandelPersonalityRepository:DOM.common.impl.HandelPersonalityRepository="",WebshopSessionService:APPS.EC.WebshopSessionService="",LoginKortingBewaarder:WSimpl.Unishop.Login.KortingBewaarder="",UrlBepaler:APPS.EC.Webshop.UrlBepaler="",HandelToegelatenLadetypesBepaler:DOM.VKP.impl.HandelToegelatenLadetypesBepaler="",KlantDataBewaarder:APPS.VKP.impl.KlantDataBewaarder="",KlantDataRepository:DOM.VKP.impl.KlantDataRepository="",Logger:vhLib.Logger
1
1
%Status
@@ -69,6 +74,7 @@
Set ..HandelToegelatenLadetypesBepaler = $$$Inject(HandelToegelatenLadetypesBepaler, ##class(DOM.VKP.impl.HandelToegelatenLadetypesBepaler).%New())
Set ..KlantDataBewaarder = $$$Inject(KlantDataBewaarder, ##class(APPS.VKP.impl.KlantDataBewaarder).%New())
Set ..KlantDataRepository = $$$Inject(KlantDataRepository, ##class(DOM.VKP.impl.KlantDataRepository).%New())
+ Set ..Logger = $$$Inject(Logger, ##class(vhLib.Logger).%New())
Quit $$$OK
]]>
@@ -90,9 +96,11 @@
} Catch {
#dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch()
- Do ##class(vhLib.Logger).%New().Error(..%ClassName()_" Decrypteer","Failed : "_$C(13,10)_Exception.ToString())
+ Do ..Logger.Error(..%ClassName()_" Decrypteer","Failed : "_$C(13,10)_Exception.ToString())
Set ..Response.IsGeldig = 0
}
+ } Else {
+ Do ..Logger.Warning("Decrypteer", "Er werd een ongeldige decrypteer uitgevoerd")
}
Quit ..Response