Project

General

Profile

Actions

Bug #2278

closed

Unintuitive error reporting by SecPublicInfo (SecPublicInfoSqlite3)

Added by Alex Afanasyev over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
12/05/2014
Due date:
% Done:

100%

Estimated time:

Description

When the underlying database is corrupted (contains some old stuff), applications are likely to crash with unintuitive error

ERROR: (Block::get) Requested a non-existed type [7] from Block

We should try to catch tlv::Error exceptions when reading/decoding data from the database and throw a more reasonable error that will be easy to understand and debug for the user.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #2274: ERROR: (Block::get) Requested a non-existed type [7] from BlockClosed12/04/2014

Actions
Actions

Also available in: Atom PDF