Catch any exception thrown and query from database instead.
Catch any exception thrown and query from database instead.

Signed-off-by: Mior Muhammad Zaki <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>

orchestral/kernel,orchestral/kernel