diff --git a/IRaCIS.Core.API/HostService/DicomSCPService.cs b/IRaCIS.Core.API/HostService/DicomSCPService.cs index ec1eff5e9..5475dd257 100644 --- a/IRaCIS.Core.API/HostService/DicomSCPService.cs +++ b/IRaCIS.Core.API/HostService/DicomSCPService.cs @@ -1,4 +1,5 @@ using AutoMapper.Execution; +using DocumentFormat.OpenXml.Bibliography; using FellowOakDicom; using FellowOakDicom.Network; using FellowOakDicom.Network.Client; @@ -82,7 +83,10 @@ namespace IRaCIS.Core.API.HostService public void OnConnectionClosed(Exception exception) { - throw new NotImplementedException(); + if (exception != null) + { + Logger.LogError($"Closed, exception is {exception.Message}"); + } } public void OnReceiveAbort(DicomAbortSource source, DicomAbortReason reason) diff --git a/IRaCIS.Core.API/appsettings.Test_HIR.json b/IRaCIS.Core.API/appsettings.Test_HIR.json index 59b59fc00..f3447d7a3 100644 --- a/IRaCIS.Core.API/appsettings.Test_HIR.json +++ b/IRaCIS.Core.API/appsettings.Test_HIR.json @@ -59,7 +59,7 @@ "ThirdSearchPacsAE": "ThirdCalledPacsAE", "ThirdCallningAE": "ThirdCallningAE", "CalledAEList": [ - "HIRSCU", + "HIRSCUAE", "HIRSCPAE" ], "ServerPort": 11112