Better error handling in premake files