We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd613f commit 28a5e4bCopy full SHA for 28a5e4b
python_env/src/cc.engine/cc/engine/chooser/views.py
@@ -343,6 +343,10 @@ def choose_results_view(request):
343
# Select a license based on the request form
344
license = _issue_license(request_form)
345
346
+ # If the request didn't have all the required information, we have no license
347
+ if not license:
348
+ return exc.HTTPBadRequest('Could not determine license from parameters.')
349
+
350
# If the license is retired, redirect to info page
351
if license.deprecated:
352
# Special case: PDCC should redirect to /publicdomain/
0 commit comments