Commit 88dae11f authored by Nathan Friend's avatar Nathan Friend

Update error type in DORA GraphQL resolver

parent 0f58dab1
......@@ -34,7 +34,7 @@ module Resolvers
.new(container: container, current_user: current_user, params: params)
.execute
raise result[:message] unless result[:status] == :success
raise Gitlab::Graphql::Errors::ArgumentError, result[:message] unless result[:status] == :success
data = result[:data]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment