Skip to content

Commit

Permalink
Rename launch process detection error
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Jun 12, 2024
1 parent 258bae4 commit 5f94939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildpacks/dotnet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Buildpack for DotnetBuildpack {
// TODO: Failing to detect processes probably shouldn't cause a buildpack error.
// Handle errors in a way that provides helpful information to correct the issue
// and/or writing a Procfile.
.map_err(DotnetBuildpackError::LaunchProcess)?;
.map_err(DotnetBuildpackError::LaunchProcessDetection)?;

BuildResultBuilder::new()
.launch(LaunchBuilder::new().processes(launch_processes).build())
Expand Down Expand Up @@ -321,8 +321,8 @@ enum DotnetBuildpackError {
PublishCommand(#[from] StreamedCommandError),
#[error("Error copying runtime files {0}")]
CopyRuntimeFilesToRuntimeLayer(io::Error),
#[error("Launch process error: {0}")]
LaunchProcess(LaunchProcessError),
#[error("Launch process detection error: {0}")]
LaunchProcessDetection(LaunchProcessError),
}

impl From<DotnetBuildpackError> for libcnb::Error<DotnetBuildpackError> {
Expand Down

0 comments on commit 5f94939

Please sign in to comment.