get details when occur error