Yeah, locking your bike to a temporary structure is never a good idea. You have to watch parking meters and sign posts too, as some of them can pull out of the ground.
Sorry for your loss, but I wouldn't trust a bike on scaffolding for anything longer than a quick corner-store trip where I could see the bike for the whole 3.5 minutes.