Fix of crashing bug due to incorrect error handling.
Created by: SkyToGround
I can't be bothered to create an issue for this bug seeing as the problem was so simple. Please approve and merge ASAP.
Created by: SkyToGround
I can't be bothered to create an issue for this bug seeing as the problem was so simple. Please approve and merge ASAP.