Properly handle exceptions thrown from stores