Skip to content

Commit 2b33179

Browse files
committed
Improve error messaging for creating a Deployment that will violate quotas with high max-in-flight
Revert unintended change
1 parent a9231eb commit 2b33179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/actions/deployment_create.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def handle_deployment_create_error(e, app)
103103

104104
error = DeploymentCreate::Error.new(error_message)
105105
error.set_backtrace(e.backtrace)
106-
error
106+
raise error
107107
end
108108

109109
def create_deployment_process(app, deployment_guid, revision, process_instances)

0 commit comments

Comments
 (0)