Skip to content

Commit

Permalink
Changed back to argument null exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimms committed Jul 28, 2023
1 parent b7e74c7 commit 6576227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Task SetValueAsync(object result, CancellationToken cancellationToken)
{
if (result == null)
{
throw new ValidationException(AuthenticationEventResource.Ex_Invalid_Return);
throw new ArgumentNullException("AuthenticationEventResponseHandler", AuthenticationEventResource.Ex_Invalid_Return);
}

if (result is AuthenticationEventResponse action)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"errors": [ "Return type is invalid, please return either an AuthEventResponse, HttpResponse, HttpResponseMessage or string in your function return." ]
"errors": [ "Return type is invalid, please return either an AuthEventResponse, HttpResponse, HttpResponseMessage or string in your function return. (Parameter 'AuthenticationEventResponseHandler')" ]
}

0 comments on commit 6576227

Please sign in to comment.