From 3898ae7f31305a0c972fd4a8238c87d9194db7a4 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sun, 9 Jun 2024 01:08:17 +0200 Subject: [PATCH] tools enhanced log/error messages --- tools/qtbuild-qmysql-driver.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/qtbuild-qmysql-driver.ps1 b/tools/qtbuild-qmysql-driver.ps1 index 28e642ef7..a80661ff0 100644 --- a/tools/qtbuild-qmysql-driver.ps1 +++ b/tools/qtbuild-qmysql-driver.ps1 @@ -95,13 +95,14 @@ function Test-QtSourcesInstalled { # Check whether the MySQL Server is installed function Test-MySQLServerInstalled { - Write-Progress "Testing whether MySQL Server is installed" + Write-Progress "Testing whether MySQL Server $MySQLVersion is installed" if (Test-Path $Script:MySqlServerPath) { return } - Write-ExitError "The MySQL Server is not installed in the '$Script:MySqlServerPath' folder." + Write-ExitError ("The MySQL Server $MySQLVersion is not installed " + + "in the '$Script:MySqlServerPath' folder.") } # Remove $QtVersion build folder if the $CleanBuild was passed