[labs] Added better error logging