From 41575403cc188663ed760d9b48155476688fd0d2 Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:23:19 +0100 Subject: [PATCH] Update WeaponPaints.cs Show mysql error for better knowledge (bad credentials and more) --- WeaponPaints.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WeaponPaints.cs b/WeaponPaints.cs index aeb2b656..85b570b6 100644 --- a/WeaponPaints.cs +++ b/WeaponPaints.cs @@ -182,9 +182,10 @@ public class WeaponPaints : BasePlugin, IPluginConfig gPlayerWeaponSeed[steamId.SteamId64][WeaponDefIndex] = Seed; }); } - catch (Exception) + catch (Exception ex) { + Console.WriteLine(ex); return; } } -} \ No newline at end of file +}