Fix: pass the internal server error through layers.
This commit is contained in:
		| @@ -34,7 +34,7 @@ namespace Lib.Architecture.BuildingBlocks.Helpers | ||||
|                     } | ||||
|                 } | ||||
|  | ||||
|                 if (refitException.StatusCode == HttpStatusCode.InternalServerError && errorMessage is string) | ||||
|                 if (refitException.StatusCode == HttpStatusCode.InternalServerError && (errorMessage is string || errorMessage is HttpError)) | ||||
|                     port.InternalServerError(errorMessage); | ||||
|  | ||||
|                 else if (refitException.StatusCode == HttpStatusCode.NotFound) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin