Printing exception from metadata thread