Try/catch around idb open.