Improve error logging in jobsearch-importers ('NoneType' object has no attribute 'get)
Openshift creates warnings (etc) based on the word 'exception', and posts this in them in the monitoring channel in mattermost. The exception 'Nonetype' object has no attribute 'get have a tendency to "spam" that channel.
Link to the alarm logs in openshift:
https://opensearch.jobtechdev.se/app/discover?security_tenant=global#/view/cfe840d0-310b-11ee-b1c9-e1e909ec3333?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-2w,to:'2023-09-18T06:46:15.066Z'))&_a=(columns:!(kubernetes.namespace,message),filters:!(),index:'65d48570-f360-11ed-8327-3f30815f3068',interval:auto,query:(language:kuery,query:'(message:*exception*%20AND%20kubernetes.namespace:%20*jobsearch*)%20%20OR%20(message:*exception*%20AND%20kubernetes.namespace:%20*historic*)%20OR%20(message:*exception*%20AND%20kubernetes.namespace:%20*link*)%20OR%20(message:*exception*%20AND%20kubernetes.namespace:%20*enrichment*)%20OR%20(message:*exception*%20AND%20kubernetes.namespace:%20*jobad*)%20OR%20(message:*exception*%20AND%20kubernetes.namespace:%20*trend*)'),sort:!())
See if we can remove "exception" from the log message and lower the log level to "WARNING"