Catch errors when updating image srcs.