Added more info to exception message