I need a function to run each time i receive a "image failed to load : request failed" exception. Usually on other scripting languages i would use try-catch. Is there something similar on roblox? i couldn't find any answer online.
game:GetService("ScriptContext").Error:Connect(function(msg,stack,source) print(msg,stack,source.Name) end)
Catches every error.