Update WeaponPaints.cs

Show mysql error for better knowledge (bad credentials and more)
This commit is contained in:
Dawid Bepierszcz
2023-11-14 15:23:19 +01:00
committed by GitHub
parent b4f8bdbf54
commit 41575403cc

View File

@@ -182,9 +182,10 @@ public class WeaponPaints : BasePlugin, IPluginConfig<WeaponPaintsConfig>
gPlayerWeaponSeed[steamId.SteamId64][WeaponDefIndex] = Seed;
});
}
catch (Exception)
catch (Exception ex)
{
Console.WriteLine(ex);
return;
}
}
}
}