WIP - debugging sqlite db exception