Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Report error if unrecognized url is given

Christophe Bliard3e2a0331ab7e
diff --git a/script/github_pr_errors b/script/github_pr_errors
index 7702596755f..418f48fc9ef 100755
--- a/script/github_pr_errors
+++ b/script/github_pr_errors
@@ -128,8 +128,8 @@ class Options
say_verbose("Extracted run id #{run_id} from #{url}")
{ run_id: }
else
- say_verbose("Unrecognized url #{url}")
- {}
+ warn "Unrecognized url #{url}"
+ exit 1
end
end
end