Made error handling even more verbose