Added null guard on retrofit error