Hi, I would go with an xpen, playpen while you are gone, I believe they do it out of boredom. When Zander did this we bought a large acrylic sheet (at home depot) and put it against the wall that he made the hole

. It works. I also walk them before I leave.
Best of luck.