Log exception in case of incomplete or corrupted data.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>