Skip to content

Commit

Permalink
fix: update error message with dependency version
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <[email protected]>
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
leninmehedy authored and jeromy-cannon committed Feb 13, 2024
1 parent d5e86bc commit 8dee121
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions solo/src/core/dependency_manager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ export class DependencyManager extends ShellRunner {
}

if (!status) {
this.logger.warn(`Dependency ${dep} is not found`)
throw new FullstackTestingError(`${dep} is not found`)

this.logger.warn(`Dependency ${dep}:${DependencyManager.depVersions.get(dep)} is not found`)
throw new FullstackTestingError(`${dep}:^${DependencyManager.depVersions.get(dep)} is not found`)
}

this.logger.debug(`Dependency ${dep} is found`)
Expand Down

0 comments on commit 8dee121

Please sign in to comment.