Improve display of an SQL error during the installation
authorLukBukkit <luk.bukkit@gmail.com>
Fri, 16 Nov 2018 22:54:59 +0000 (23:54 +0100)
committerLukBukkit <luk.bukkit@gmail.com>
Fri, 16 Nov 2018 22:56:31 +0000 (23:56 +0100)
commit76663a22f798971f68266ff2bb4f118549e2aa79
treedab135dc0f2d2179962aea5502f1ee8889db3530
parent643696f34cecd001bcc7e54a06e5e580d05011fb
Improve display of an SQL error during the installation

This commit moves the call of the DatabaseUpdater::purgeCache
function into a try catch block which ensures
that the error will be displayed nicely.

Bug: T209341
Change-Id: I614444140e29948c41baa30dd557483b63f21a9a
includes/installer/DatabaseInstaller.php