@@ -118,8 +118,7 @@ begin
118118 AWS.Log.Write
119119 (LA.Server.Error_Log,
120120 Request,
121- Utils.CRLF_2_Spaces
122- (Ada.Exceptions.Exception_Information (E)));
121+ Utils.CRLF_2_Spaces (Exception_Information (E)));
123122 return False;
124123 end Send_Error_Answer ;
125124
@@ -282,7 +281,7 @@ begin
282281 AWS.Log.Write
283282 (LA.Server.Error_Log,
284283 Request,
285- Utils.CRLF_2_Spaces (Ada.Exceptions. Exception_Information (E)));
284+ Utils.CRLF_2_Spaces (Exception_Information (E)));
286285
287286 Will_Close := True;
288287
@@ -308,7 +307,7 @@ begin
308307 Error_Answer := Response.Build
309308 (Status_Code => Messages.S400,
310309 Content_Type => " text/plain" ,
311- Message_Body => Ada.Exceptions. Exception_Message (E));
310+ Message_Body => Exception_Message (E));
312311
313312 LA.Server.Slots.Mark_Phase (LA.Line, Server_Response);
314313
@@ -322,16 +321,15 @@ begin
322321 AWS.Log.Write
323322 (LA.Server.Error_Log,
324323 Request,
325- Utils.CRLF_2_Spaces
326- (Ada.Exceptions.Exception_Information (E)));
324+ Utils.CRLF_2_Spaces (Exception_Information (E)));
327325
328326 Will_Close := True;
329327
330328 if First_Line then
331329 Error_Answer := Response.Build
332330 (Status_Code => Messages.S414,
333331 Content_Type => " text/plain" ,
334- Message_Body => Ada.Exceptions. Exception_Message (E));
332+ Message_Body => Exception_Message (E));
335333
336334 elsif
337335 Exception_Identity (E) =
@@ -340,13 +338,13 @@ begin
340338 Error_Answer := Response.Build
341339 (Status_Code => Messages.S403,
342340 Content_Type => " text/plain" ,
343- Message_Body => Ada.Exceptions. Exception_Message (E));
341+ Message_Body => Exception_Message (E));
344342
345343 else
346344 Error_Answer := Response.Build
347345 (Status_Code => Messages.S400,
348346 Content_Type => " text/plain" ,
349- Message_Body => Ada.Exceptions. Exception_Message (E));
347+ Message_Body => Exception_Message (E));
350348 end if ;
351349
352350 LA.Server.Slots.Mark_Phase (LA.Line, Server_Response);
0 commit comments