Adding some error logging for quick testing
More logging
Tryign another debug metho