From 21465aedba1700378b9b8b562ee8d918929bdf93 Mon Sep 17 00:00:00 2001 From: Brian Borge Date: Thu, 14 Nov 2024 16:29:38 -0500 Subject: [PATCH] Reference the application contract in error message (#333) --- buildpacks/ruby/src/user_errors.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildpacks/ruby/src/user_errors.rs b/buildpacks/ruby/src/user_errors.rs index f55719a0..3e8d6618 100644 --- a/buildpacks/ruby/src/user_errors.rs +++ b/buildpacks/ruby/src/user_errors.rs @@ -30,6 +30,14 @@ pub(crate) fn on_error(err: libcnb::Error) { buildpack or framework, please visit the buildpack's GitHub repository at https://github.com/heroku/buildpacks-ruby/issues. Search for any existing issues related to this error. If none are found, please consider opening a new issue. + + For more details on expected behavior, see the application contract at + https://github.com/heroku/buildpacks-ruby/blob/main/docs/application_contract.md + If you notice a difference between the contract and actual buildpack behavior, + please open an issue with a minimal application to reproduce the problem. + + For application-specific support, consider asking on official Heroku support + channels or Stack Overflow. "}), }; }